rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
map.hpp File Reference

write/read std::map to/from a YAML tree. More...

#include "c4/yml/node.hpp"
#include <map>

Go to the source code of this file.

Namespaces

namespace  c4
 (Undefined by default) Use shorter error message from checks/asserts: do not show the check condition in the error message.
namespace  c4::yml

Functions

template<class K, class V, class Less, class Alloc>
void c4::yml::write (c4::yml::NodeRef *n, std::map< K, V, Less, Alloc > const &m)
template<class K, class V, class Less, class Alloc>
bool c4::yml::read (c4::yml::ConstNodeRef const &n, std::map< K, V, Less, Alloc > *m)
 read the node members, assigning into the existing map.

Detailed Description

write/read std::map to/from a YAML tree.

Definition in file map.hpp.