Create a list by moving the contents of the specified original.
Synopsis
Declared in <bslstl_list.h>
list(BloombergLP::bslmf::MovableRef<list> original);
Description
The contents of original are moved in constant time. The allocator associated with original is propagated for use in the newly‐created list. original is left in a valid but unspecified state.
Parameters
Name |
Description |
original |
list whose contents are moved into this list |
Created with MrDocs