]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/core/test/addressof_fail_rvalue.cpp
2 Copyright 2017 Glen Joseph Fernandes
5 Distributed under the Boost Software License, Version 1.0.
6 (http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/core/addressof.hpp>
11 #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) && \
12 !defined(BOOST_NO_CXX11_DELETED_FUNCTIONS)
15 inline const type
function()
22 (void)boost::addressof(function());
25 #error Requires rvalue references and deleted functions