cpp/utility/basic stacktrace/basic stacktrace

Constructs an empty, or copy/move from.

@1@ Default constructor. Constructs an empty with a default-constructed allocator.

@2@ Constructs an empty using  as the allocator.

@3@ Copy constructor. Constructs a with the copy of the contents of, the allocator is obtained as if by calling.

@4@ Move constructor. Constructs a with the contents of  using move semantics. Allocator is move-constructed from that of. After construction, is left in a valid but unspecified state.

@5@ Same as the copy constructor, except that is used as the allocator.

@6@ Behaves same as the move constructor if. Otherwise, allocates memory with and performs element-wise move. is used as the allocator.

may throw an exception or construct an empty on allocation failure.

Exceptions
@1@ @3,5,6@ May propagate the exception thrown on allocation failure.

Complexity
@1-2@ Constant.

@3@ Linear in size of.

@4@ Constant.

@5@ Linear in size of.

@6@ Linear in size of if, otherwise constant.