yaml-cpp/src/value/convert.cpp
2011-09-08 02:05:03 -05:00

15 lines
326 B
C++

#include "yaml-cpp/value/convert.h"
namespace YAML
{
//
// 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;
// }
}