]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/uuid/test/compile-fail/basic_random_generator_no_copy_assign.cpp
1 // (c) Copyright Andrey Semashev 2018
3 // Distributed under the Boost Software License, Version 1.0. (See
4 // accompanying file LICENSE_1_0.txt or copy at
5 // https://www.boost.org/LICENSE_1_0.txt)
7 // The test verifies that basic_random_generator is not copy assignable
9 #include <boost/uuid/random_generator.hpp>
10 #include <boost/random/linear_congruential.hpp>
14 boost::uuids::basic_random_generator
<boost::rand48
> uuid_gen1
, uuid_gen2
;
15 uuid_gen2
= uuid_gen1
;