rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
vector.hpp File Reference
#include "c4/yml/node.hpp"
#include <c4/std/vector.hpp>
#include <vector>

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 V, class Alloc>
void c4::yml::write (c4::yml::NodeRef *n, std::vector< V, Alloc > const &vec)
template<class V, class Alloc>
bool c4::yml::read (c4::yml::ConstNodeRef const &n, std::vector< V, Alloc > *vec)
 read the node members, overwriting existing vector entries.
template<class Alloc>
bool c4::yml::read (c4::yml::ConstNodeRef const &n, std::vector< bool, Alloc > *vec)
 read the node members, overwriting existing vector entries.