3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 20:18:18 +00:00
This commit is contained in:
Lev Nachmanson 2023-09-20 14:12:36 -07:00
parent 9648793206
commit 24512d5ec2

View file

@ -131,7 +131,7 @@ void dealloc_svect(T * ptr) {
template <typename T> template <typename T>
struct std_allocator { struct std_allocator {
using value_type = T; using value_type = T;
// the constructors must be proveded according to cpp docs // the constructors must be provided according to cpp docs
std_allocator() = default; std_allocator() = default;
template <class U> constexpr std_allocator(const std_allocator<U>&) noexcept {} template <class U> constexpr std_allocator(const std_allocator<U>&) noexcept {}
@ -145,7 +145,7 @@ struct std_allocator {
} }
}; };
// the comparison operators must be proveded according to cpp docs // the comparison operators must be provided according to cpp docs
template <class T, class U> template <class T, class U>
bool operator==(const std_allocator<T>&, const std_allocator<U>&) { return true; } bool operator==(const std_allocator<T>&, const std_allocator<U>&) { return true; }
template <class T, class U> template <class T, class U>