]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Boost.TypeErasure library |
2 | // | |
3 | // Copyright 2011 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_ANY_BASE_HPP_INCLUDED | |
12 | #define BOOST_TYPE_ERASURE_DETAIL_ANY_BASE_HPP_INCLUDED | |
13 | ||
14 | namespace boost { | |
15 | namespace type_erasure { | |
16 | ||
17 | template<class Derived> | |
18 | struct any_base | |
19 | { | |
20 | typedef void _boost_type_erasure_is_any; | |
21 | typedef Derived _boost_type_erasure_derived_type; | |
22 | void* _boost_type_erasure_deduce_constructor(...) { return 0; } | |
23 | void* _boost_type_erasure_deduce_assign(...) { return 0; } | |
24 | }; | |
25 | ||
26 | } | |
27 | } | |
28 | ||
29 | #endif |