Write test pmr_emplace_erase to check basic functionality with pmr allocators

This commit is contained in:
Braden Ganetsky
2024-03-24 12:22:44 -05:00
parent 626db552ab
commit 82ba55e4a4
5 changed files with 201 additions and 0 deletions

View File

@@ -51,6 +51,11 @@ namespace test {
static_cast<typename std::iterator_traits<Iterator>::difference_type>(x));
return it;
}
template <typename Container>
using is_map =
std::integral_constant<bool, !std::is_same<typename Container::key_type,
typename Container::value_type>::value>;
}
#endif