auto node = Node(42); assert(node == 42); assert(node != "42"); assert(node != "43"); auto node2 = Node(YAMLNull()); assert(node2 == YAMLNull()); const node3 = Node(42); assert(node3 == 42);
See Implementation