Files

44 lines
1.1 KiB
C++

// (C) Copyright Edward Diener 2012,2013
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
#if !defined(ACTIV_BOOST_TTI_DETAIL_FTCLASS_HPP)
#define ACTIV_BOOST_TTI_DETAIL_FTCLASS_HPP
#include <ActivBoost/function_types/parameter_types.hpp>
#include <ActivBoost/mpl/at.hpp>
#include <ActivBoost/mpl/identity.hpp>
#include <ActivBoost/mpl/int.hpp>
#include <ActivBoost/mpl/quote.hpp>
namespace Boost
{
namespace tti
{
namespace detail
{
template<class ACTIV_BOOST_TTI_DETAIL_TP_F>
struct class_type :
Boost::mpl::at
<
typename
Boost::function_types::parameter_types
<
ACTIV_BOOST_TTI_DETAIL_TP_F,
Boost::mpl::quote1
<
Boost::mpl::identity
>
>::type,
Boost::mpl::int_<0>
>
{
};
}
}
}
#endif // ACTIV_BOOST_TTI_DETAIL_FTCLASS_HPP