This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]