Create a deque with the same value as original.
Synopsis
Declared in <bslstl_deque.h>
deque(deque const& original);
Description
Create a deque that has the same value as the specified original object. Use the allocator returned by 'bsl::allocator_traits<ALLOCATOR>:: select_on_container_copy_construction(original.get_allocator())' to supply memory. If the (template parameter) type ALLOCATOR is bsl::allocator (the default), the currently installed default allocator is used. This method requires that the (template parameter) VALUE_TYPE be copy‐insertable into this deque (see {Requirements on VALUE_TYPE}).
Parameters
Name |
Description |
original |
deque to copy |
Created with MrDocs