docs/Breaking-Changes.md
as<int8_t>/as<uint8_t>, which throws an exception when the value exceeds the range of int8_t/uint8_t.none
none
Node::clear was replaced by Node::reset, which takes an optional node, similar to smart pointers.Initial version of the new API.
none
YAML::Binary now takes const unsigned char * for the binary data (instead of const char *).Node::GetType() is now Node::Type(), and returns an enum NodeType::value, where:
struct NodeType { enum value { Null, Scalar, Sequence, Map }; };
Node::GetTag() is now Node::Tag()Node::Identity() is removed, and Node::IsAlias() and Node::IsReferenced() have been merged into Node::IsAliased(). The reason: there's no reason to distinguish an alias node from its anchor - whichever happens to be emitted first will be the anchor, and the rest will be aliases.Node::Read<T> is now Node::to<T>. This wasn't a documented function, so it shouldn't break anything.Node's comparison operators (for example, operator == (const Node&, const T&)) have all been removed. These weren't documented either (they were just used for the tests), so this shouldn't break anything either.YAML::BeginDoc.This wiki was started with v0.2.5.