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 
)
inline

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

Parameters
beginthe start of the range
endthe end of the range
Returns
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