[Bug libstdc++/65013] New: [API] std::deque is missing constructors

mouchtaris at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Feb 11 09:56:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65013

            Bug ID: 65013
           Summary: [API] std::deque is missing constructors
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mouchtaris at gmail dot com

std::deque (at least) is missing constructors for copy/move-constructing with a
different allocator.

    deque( const deque& other, const Allocator& alloc );
    deque( deque&& other, const Allocator& alloc );

(Reminding-mention: the first of these needs to use
std::allocator_traits<allocator_type>::select_on_container_copy_construction(alloc)
in case no allocator is provided).



More information about the Gcc-bugs mailing list