FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
template<typename Cont >
FB::VariantList FB::make_variant_list ( const Cont &  cont)

Create a FB::VariantList from any STL-style container (i.e. exposes begin() and end())

contA STL-style container.
A FB::VariantList constructed from the cont.

Definition at line 151 of file variant_list.h.

152  {
153  FB::VariantList result;
154  std::copy(c.begin(), c.end(), std::back_inserter(result));
155  return result;
156  }
std::vector< variant > VariantList
Defines an alias representing list of variants.
Definition: APITypes.h:64