yaml-cpp/src/value/convert.cpp

15 lines
326 B
C++
Raw Normal View History

#include "yaml-cpp/value/convert.h"
namespace YAML
{
2011-09-08 09:48:40 +04:00
//
// template<typename K, typename V>
// Value convert<std::map<K, V> >(const std::map<K, V>& rhs) {
// Value value(ValueType::Map);
// for(std::map<K, V>::const_iterator it=rhs.begin();it!=rhs.end();++it)
// value[it->first] = it->second;
// return value;
// }
}