2 Copyright 2017 Glen Joseph Fernandes
5 Distributed under Boost Software License, Version 1.0.
6 (See accompanying file LICENSE_1_0.txt or copy at
7 http://www.boost.org/LICENSE_1_0.txt)
10 // MACRO: BOOST_NO_CXX11_POINTER_TRAITS
11 // TITLE: C++11 <memory> lacks a correct std::pointer_traits
12 // DESCRIPTION: The standard library lacks a working std::pointer_traits.
16 namespace boost_no_cxx11_pointer_traits {
21 using rebind = pointer<bool>;
28 struct result<pointer<bool> > {
29 static const int value = 0;
34 return result<std::pointer_traits<pointer<int> >::rebind<char> >::value;
37 } /* boost_no_cxx11_pointer_traits */