1 // Boost.TypeErasure library
3 // Copyright 2012 Steven Watanabe
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)
11 #ifndef BOOST_TYPE_ERASURE_DETAIL_GET_SIGNATURE_HPP_INCLUDED
12 #define BOOST_TYPE_ERASURE_DETAIL_GET_SIGNATURE_HPP_INCLUDED
14 #include <boost/typeof/typeof.hpp>
15 #include <boost/type_traits/remove_pointer.hpp>
18 namespace type_erasure {
21 template<class Concept>
22 struct get_signature {
23 BOOST_TYPEOF_NESTED_TYPEDEF_TPL(nested, &Concept::apply)
24 typedef typename boost::remove_pointer<