Skip to content

Commit

Permalink
Test is_trivially_copyable<uuid> and is_standard_layout<uuid>
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed May 8, 2024
1 parent 9f1dcb3 commit 31a9460
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_uuid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,10 @@ int main()
BOOST_TEST_NE(uuid_hasher(u2), uuid_hasher(u3));
}

{ // test is_pod
{ // test type properties
BOOST_TEST_EQ(std::is_pod<uuid>::value, true);
BOOST_TEST_EQ(std::is_trivially_copyable<uuid>::value, true);
BOOST_TEST_EQ(std::is_standard_layout<uuid>::value, true);
}

return boost::report_errors();
Expand Down

0 comments on commit 31a9460

Please sign in to comment.