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

template<class InputIterator >
FB::VariantList FB::make_variant_list ( InputIterator  begin,
InputIterator  end 

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

beginthe start of the range
endthe end of the range
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
  • No labels