]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/uuid/test/compile-fail/basic_random_generator_no_copy_assign.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / uuid / test / compile-fail / basic_random_generator_no_copy_assign.cpp
1 // (c) Copyright Andrey Semashev 2018
2
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)
6
7 // The test verifies that basic_random_generator is not copy assignable
8
9 #include <boost/uuid/random_generator.hpp>
10 #include <boost/random/linear_congruential.hpp>
11
12 int main()
13 {
14 boost::uuids::basic_random_generator<boost::rand48> uuid_gen1, uuid_gen2;
15 uuid_gen2 = uuid_gen1;
16
17 return 1;
18 }