uuid/test/compile-fail/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

18 lines
444 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 random_generator is not copy constructible
#include <boost/uuid/random_generator.hpp>
int main()
{
boost::uuids::random_generator uuid_gen1;
boost::uuids::random_generator uuid_gen2(uuid_gen1);
return 1;
}