epoc32/include/stdapis/boost/mpl/aux_/has_apply.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/has_apply.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_AUX_HAS_APPLY_HPP_INCLUDED
     1.6 +#define BOOST_MPL_AUX_HAS_APPLY_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Aleksey Gurtovoy 2004
     1.9 +//
    1.10 +// Distributed under the Boost Software License, Version 1.0. 
    1.11 +// (See accompanying file LICENSE_1_0.txt or copy at 
    1.12 +// http://www.boost.org/LICENSE_1_0.txt)
    1.13 +//
    1.14 +// See http://www.boost.org/libs/mpl for documentation.
    1.15 +
    1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/aux_/has_apply.hpp,v $
    1.17 +// $Date: 2004/09/03 15:56:55 $
    1.18 +// $Revision: 1.1 $
    1.19 +
    1.20 +#include <boost/mpl/has_xxx.hpp>
    1.21 +#include <boost/mpl/aux_/config/has_apply.hpp>
    1.22 +
    1.23 +namespace boost { namespace mpl { namespace aux {
    1.24 +#if !defined(BOOST_MPL_CFG_NO_HAS_APPLY)
    1.25 +BOOST_MPL_HAS_XXX_TRAIT_NAMED_DEF(has_apply, apply, false)
    1.26 +#else
    1.27 +template< typename T, typename fallback_ = false_ >
    1.28 +struct has_apply
    1.29 +    : fallback_
    1.30 +{
    1.31 +};
    1.32 +#endif
    1.33 +}}}
    1.34 +
    1.35 +#endif // BOOST_MPL_AUX_HAS_APPLY_HPP_INCLUDED