1 #ifndef _C4_YML_STD_VECTOR_HPP_
2 #define _C4_YML_STD_VECTOR_HPP_
16 template<
class V,
class Alloc>
24 template<
class V,
class Alloc>
27 C4_SUPPRESS_WARNING_GCC_WITH_PUSH(
"-Wuseless-cast")
29 C4_SUPPRESS_WARNING_GCC_POP
32 child >> (*vec)[pos++];
41 C4_SUPPRESS_WARNING_GCC_WITH_PUSH(
"-Wuseless-cast")
43 C4_SUPPRESS_WARNING_GCC_POP
Holds a pointer to an existing tree, and a node id.
A reference to a node in an existing yaml tree, offering a more convenient API than the index-based A...
provides conversion and comparison facilities from/between std::vector<char> to c4::substr and c4::cs...
@ SEQ
a seq: a parent of VAL/SEQ/MAP nodes
void write(NodeRef *n, T const &v)
std::enable_if< ! std::is_floating_point< T >::value, bool >::type read(NodeRef const &n, T *v)
convert the val of a scalar node to a particular type, by forwarding its val to from_chars<T>().
id_type num_children() const RYML_NOEXCEPT
O(num_children).