FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
template<class InputIterator >
FB::VariantList FB::make_variant_list ( InputIterator  begin,
InputIterator  end 
)
inline

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

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

Definition at line 143 of file variant_list.h.

144  {
145  FB::VariantList result(end-begin);
146  std::copy(begin, end, result.begin());
147  return result;
148  }
std::vector< variant > VariantList
Defines an alias representing list of variants.
Definition: APITypes.h:64