1 // Boost.TypeErasure library
3 // Copyright 2011 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_DERIVED_HPP_INCLUDED
12 #define BOOST_TYPE_ERASURE_DERIVED_HPP_INCLUDED
15 namespace type_erasure {
18 * A metafunction which returns the full @ref any type,
19 * when given any of its base classes. This is primarily
20 * intended to be used when implementing @ref concept_interface.
22 * \see rebind_any, as_param
27 #ifdef BOOST_TYPE_ERASURE_DOXYGEN
28 typedef detail::unspecified type;
30 typedef typename T::_boost_type_erasure_derived_type type;