Template Function YAML::decode_for_version
Defined in File yaml.hpp
Function Documentation
-
template<typename T>
T YAML::decode_for_version(const Node &node, int version) Pass metadata version to the sub-structs of BagMetadata for deserializing.
Encoding should always use the current metadata version, so it does not need this value. We cannot extend the YAML::Node class to include this, so we must call it as a function with the node as an argument.