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)
8 #ifndef BOOST_MP_DETAIL_REBIND_HPP
9 #define BOOST_MP_DETAIL_REBIND_HPP
11 namespace boost { namespace multiprecision { namespace backends { namespace detail {
12 template <class value_type, class my_allocator>
15 using type = typename std::allocator_traits<my_allocator>::template rebind_alloc<value_type>;
17 }}}} // namespace boost::multiprecision::backends::detail
19 #endif // BOOST_MP_DETAIL_REBIND_HPP