mirror of
https://github.com/boostorg/uuid.git
synced 2025-05-12 05:51:43 +00:00
16 lines
311 B
C++
16 lines
311 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::random_generator gen;
|
|
|
|
boost::uuids::uuid u1 = gen();
|
|
boost::uuids::uuid u2 = gen();
|
|
|
|
return u1 == u2;
|
|
}
|