Page tree
Skip to end of metadata
Go to start of metadata

template<class InputIterator >
FB::VariantMap FB::make_variant_map ( InputIterator  begin,
InputIterator  end 

Create a FB::VariantMap from the range [begin, end).

beginthe start of the range
endthe end of the range
A FB::VariantMap containing variants constructed from the contents of the range.

Definition at line 157 of file variant_map.h.

158  {
159  FB::VariantMap result(end-begin);
160  std::copy(begin, end, result.begin());
161  return result;
162  }
std::map< std::string, variant > VariantMap
Defines an alias representing a string -> variant map.
Definition: APITypes.h:72
  • No labels