Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/type_erasure/detail/any_base.hpp @ 24:e1b89e300e76
Add constant-q-cpp
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 17:19:56 +0100 |
parents | 2665513ce2d3 |
children | c530137014c0 |
rev | line source |
---|---|
Chris@16 | 1 // Boost.TypeErasure library |
Chris@16 | 2 // |
Chris@16 | 3 // Copyright 2011 Steven Watanabe |
Chris@16 | 4 // |
Chris@16 | 5 // Distributed under the Boost Software License Version 1.0. (See |
Chris@16 | 6 // accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 7 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 8 // |
Chris@16 | 9 // $Id: any_base.hpp 80886 2012-10-06 17:19:08Z steven_watanabe $ |
Chris@16 | 10 |
Chris@16 | 11 #ifndef BOOST_TYPE_ERASURE_DETAIL_ANY_BASE_HPP_INCLUDED |
Chris@16 | 12 #define BOOST_TYPE_ERASURE_DETAIL_ANY_BASE_HPP_INCLUDED |
Chris@16 | 13 |
Chris@16 | 14 namespace boost { |
Chris@16 | 15 namespace type_erasure { |
Chris@16 | 16 |
Chris@16 | 17 template<class Derived> |
Chris@16 | 18 struct any_base |
Chris@16 | 19 { |
Chris@16 | 20 typedef void _boost_type_erasure_is_any; |
Chris@16 | 21 typedef Derived _boost_type_erasure_derived_type; |
Chris@16 | 22 void* _boost_type_erasure_deduce_constructor(...) { return 0; } |
Chris@16 | 23 void* _boost_type_erasure_deduce_assign(...) { return 0; } |
Chris@16 | 24 }; |
Chris@16 | 25 |
Chris@16 | 26 } |
Chris@16 | 27 } |
Chris@16 | 28 |
Chris@16 | 29 #endif |