- Added missing functionality from C++ spec

This commit is contained in:
2025-08-20 14:00:52 -04:00
parent 494d766741
commit 037c62bf12
9 changed files with 97 additions and 43 deletions

View File

@@ -102,6 +102,16 @@ public:
, _size(0) {
}
///
/// \brief Alloc Constructor, initializes an empty deque with the specified allocator
/// \param alloc the allocator to copy
deque(const alloc_t& alloc)
: _alloc(alloc)
, _first(nullptr)
, _last(nullptr)
, _size(0) {
}
///
/// \brief Copy Constructor
/// \param deque the deque to copy