entt: there is a reason why an allocator concept does not exist...
This commit is contained in:
@@ -12,10 +12,3 @@ TEST(Concepts, CVRefUnqualified) {
|
||||
ASSERT_FALSE(entt::cvref_unqualified<const std::shared_ptr<int>>);
|
||||
ASSERT_FALSE(entt::cvref_unqualified<std::shared_ptr<int> &>);
|
||||
}
|
||||
|
||||
TEST(Concepts, AllocatorLike) {
|
||||
ASSERT_FALSE(entt::allocator_like<int>);
|
||||
ASSERT_TRUE(entt::allocator_like<std::allocator<int>>);
|
||||
ASSERT_FALSE(entt::allocator_like<std::shared_ptr<int>>);
|
||||
ASSERT_TRUE(entt::allocator_like<std::allocator<std::allocator<int>>>);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user