diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/alignment.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/alignment.h b/src/common/alignment.h index e24f8b0e6..cdd4833f8 100644 --- a/src/common/alignment.h +++ b/src/common/alignment.h @@ -57,6 +57,11 @@ public: using is_always_equal = std::true_type; public: + constexpr AlignmentAllocator() noexcept = default; + + template <typename T2> + constexpr AlignmentAllocator(const AlignmentAllocator<T2, Align>&) noexcept {} + pointer address(reference r) noexcept { return std::addressof(r); } |