Template:cpp/container/constructor ad

Constructs new underlying container of the container adaptor from a variety of data sources.

@1@ Default constructor. Value-initializes the container. @2@ Copy-constructs the underlying container with the contents of.

@3@ Move-constructs the underlying container with.

@4@ Copy constructor. The adaptor is copy-constructed with the contents of.

@5@ Move constructor. The adaptor is constructed with.

@6@ Constructs the underlying container with the contents of the range. .

@7-12@ These constructors participate in overload resolution only if is, that is, if the underlying container is an allocator-aware container (true for all standard library containers that can be used with ).

@7@ Constructs the underlying container using as allocator, as if by.

@8@ Constructs the underlying container with the contents of and using  as allocator, as if by.

@9@ Constructs the underlying container with the contents of using move semantics while utilizing  as allocator, as if by.

@10@ Constructs the adaptor with the contents of and using  as allocator, as if by.

@11@ Constructs the adaptor with the contents of using move semantics while utilizing  as allocator, as if by.

@12@ Constructs the underlying container with the contents of the range using  as allocator, as if by. .

Complexity
Same as the corresponding operation on the wrapped container.