Create a map by moving from the specified original object.
Synopsis
Declared in <bdlc_flathashmap.h>
FlatHashMap(bslmf::MovableRef<FlatHashMap> original);
Description
Create a FlatHashMap object having the same value, hasher, equality comparator, and allocator as the specified original object. The contents of original are moved (in constant time) to this object, original is left in a (valid) unspecified state, and no exceptions will be thrown.
Parameters
Name |
Description |
original |
map to move from |
Created with MrDocs