Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:42:24

0001 ///////////////////////////////////////////////////////////////////////////////
0002 //  Copyright 2012 John Maddock.
0003 //  Copyright Christopher Kormanyos 2013. Distributed under the Boost
0004 //  Software License, Version 1.0. (See accompanying file
0005 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 
0008 #ifndef BOOST_MP_DETAIL_REBIND_HPP
0009 #define BOOST_MP_DETAIL_REBIND_HPP
0010 
0011 namespace boost { namespace multiprecision { namespace backends { namespace detail {
0012 template <class value_type, class my_allocator>
0013 struct rebind
0014 {
0015    using type = typename std::allocator_traits<my_allocator>::template rebind_alloc<value_type>;
0016 };
0017 }}}} // namespace boost::multiprecision::backends::detail
0018 
0019 #endif // BOOST_MP_DETAIL_REBIND_HPP