FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
template<typename To , class OutputIterator >
void FB::convert_variant_map ( FB::VariantMap::const_iterator  begin,
FB::VariantMap::const_iterator  end,
OutputIterator  result 
)
inline

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

Parameters
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  }