mirror of
https://github.com/boostorg/uuid.git
synced 2025-05-12 14:01:43 +00:00
16 lines
312 B
C++
16 lines
312 B
C++
// Copyright 2024 Peter Dimov.
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// https://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
#include <boost/uuid.hpp>
|
|
|
|
int main()
|
|
{
|
|
boost::uuids::time_generator_v1 gen;
|
|
|
|
boost::uuids::uuid u1 = gen();
|
|
boost::uuids::uuid u2 = gen();
|
|
|
|
return u1 == u2;
|
|
}
|