random_generator_no_copy_assign.cpp 422 B

1234567891011121314151617
  1. // (c) Copyright Andrey Semashev 2018
  2. // Distributed under the Boost Software License, Version 1.0. (See
  3. // accompanying file LICENSE_1_0.txt or copy at
  4. // https://www.boost.org/LICENSE_1_0.txt)
  5. // The test verifies that random_generator is not copy assignable
  6. #include <boost/uuid/random_generator.hpp>
  7. int main()
  8. {
  9. boost::uuids::random_generator uuid_gen1, uuid_gen2;
  10. uuid_gen2 = uuid_gen1;
  11. return 1;
  12. }