1 // (C) Copyright John Maddock 2012
2 // (C) Copyright Peter Dimov 2014
4 // Use, modification and distribution are subject to the
5 // Boost Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 // See http://www.boost.org/libs/config for more information.
10 // MACRO: BOOST_NO_CXX11_ADDRESSOF
11 // TITLE: C++11 <memory> doesn't have a working std::addressof
12 // DESCRIPTION: The compiler does not support the function std::addressof added to <memory>
16 namespace boost_no_cxx11_addressof {
25 return std::addressof(x1) != &x1 || std::addressof(x2) != &x2 || std::addressof(x3) != &x3;