1// Boost.TypeErasure library
2//
3// Copyright 2012 Steven Watanabe
4//
5// Distributed under the Boost Software License Version 1.0. (See
6// accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8//
9// $Id$
10
11#ifndef BOOST_TYPE_ERASURE_DETAIL_GET_SIGNATURE_HPP_INCLUDED
12#define BOOST_TYPE_ERASURE_DETAIL_GET_SIGNATURE_HPP_INCLUDED
13
14#include <boost/typeof/typeof.hpp>
15#include <boost/type_traits/remove_pointer.hpp>
16
17namespace boost {
18namespace type_erasure {
19namespace detail {
20
21template<class Concept>
22struct get_signature {
23 BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested, &Concept::apply)
24 typedef typename boost::remove_pointer<
25 typename nested::type
26 >::type type;
27};
28
29}
30}
31}
32
33#endif
34

source code of boost/libs/type_erasure/include/boost/type_erasure/detail/get_signature.hpp