FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
template<class Dict >
Dict FB::convert_variant_map ( const FB::VariantMap v)

Convert a FB::VariantMap to STL-style dictionary (i.e. supports value_type and insert-iterators).

A Cont with the converted contents of the FB::VariantList.

Definition at line 193 of file variant_map.h.

194  {
195  Dict to;
196  convert_variant_map<typename Dict::value_type>(from.begin(), from.end(), std::inserter(to, to.begin()));
197  return to;
198  }