]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/typeof/test/noncopyable.cpp
1 // Copyright (C) 2006 Arkadiy Vertleyb
2 // Use, modification and distribution is subject to the Boost Software
3 // License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
6 #include <boost/noncopyable.hpp>
7 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
9 struct x
: boost::noncopyable
15 BOOST_TYPEOF_REGISTER_TYPE(x
)
23 const x
& make_const_ref()
31 BOOST_AUTO(& v1
, make_ref());
34 BOOST_AUTO(const& v2
, make_const_ref());