uuid/test/compile-fail/basic_random_generator_no_copy_ctor.cpp
tinko92 24e3e0db36 Fix for typo (LICENCE) and for https links to license (#103)
* Fix Typo in link to License.
* Changed links to https.
2019-04-22 08:56:05 -04:00

19 lines
540 B
C++

// (c) Copyright Andrey Semashev 2018
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// The test verifies that basic_random_generator is not copy constructible
#include <boost/uuid/random_generator.hpp>
#include <boost/random/linear_congruential.hpp>
int main()
{
boost::uuids::basic_random_generator<boost::rand48> uuid_gen1;
boost::uuids::basic_random_generator<boost::rand48> uuid_gen2(uuid_gen1);
return 1;
}