Function operator==

Summary

#include <src/c4/yml/node.hpp>

(1) bool operator==(NodeRef const &that) const

(2) bool operator==(std::nullptr_t) const

(3) bool operator==(csubstr val) const

Function overload

Synopsis

#include <src/c4/yml/node.hpp>

bool operator==(NodeRef const &that) const

Description

No description yet.

Source

Lines 96-96 in src/c4/yml/node.hpp.

inline bool operator== (NodeRef const& that) const { _C4RV(); RYML_ASSERT(that.valid() && !that.is_seed()); RYML_ASSERT(that.m_tree == m_tree); return m_id == that.m_id; }

Synopsis

#include <src/c4/yml/node.hpp>

bool operator==(std::nullptr_t) const

Description

No description yet.

Source

Lines 99-99 in src/c4/yml/node.hpp.

inline bool operator== (std::nullptr_t) const { return m_tree == nullptr || m_id == NONE || is_seed(); }

Synopsis

#include <src/c4/yml/node.hpp>

bool operator==(csubstr val) const

Description

No description yet.

Source

Lines 102-102 in src/c4/yml/node.hpp.

inline bool operator== (csubstr val) const { _C4RV(); RYML_ASSERT(has_val()); return m_tree->val(m_id) == val; }





Add Discussion as Guest

Log in