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

template<typename To , class OutputIterator >
void FB::convert_variant_map ( FB::VariantMap::const_iterator  begin,
FB::VariantMap::const_iterator  end,
OutputIterator  result 

Fills the range [result, result+(end-begin)) with the contents of the range [begin,end), converted to To.

beginthe start of the range
endthe end of the range
resultOut parameter, shall be an output iterator.

Definition at line 173 of file variant_map.h.

176  {
177  while(begin != end){
178  FB::VariantMap::const_iterator it = begin++;
179  *result++ = To(it->first, it->second.convert_cast<typename To::second_type>());
180  }
181  }
  • No labels