Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/multiprecision/detail/rebind.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 /////////////////////////////////////////////////////////////////////////////// | |
2 // Copyright 2012 John Maddock. | |
3 // Copyright Christopher Kormanyos 2013. Distributed under the Boost | |
4 // Software License, Version 1.0. (See accompanying file | |
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
6 // | |
7 | |
8 #ifndef BOOST_MP_DETAIL_REBIND_HPP | |
9 #define BOOST_MP_DETAIL_REBIND_HPP | |
10 | |
11 namespace boost { namespace multiprecision { namespace backends { namespace detail | |
12 { | |
13 template <class value_type, class my_allocator> | |
14 struct rebind | |
15 { | |
16 typedef typename my_allocator::template rebind<value_type>::other type; | |
17 }; | |
18 } } } } // namespace boost::multiprecision::backends::detail | |
19 | |
20 #endif // BOOST_MP_DETAIL_REBIND_HPP |