yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

A YAML parser and emitter in C++

Results 186 yaml-cpp issues
Sort by recently updated
recently updated
newest added

In the [tutorial](https://github.com/jbeder/yaml-cpp/wiki/Tutorial), the example of ``YAML::convert`` defines a method ``static bool decode(const Node& node, Vec3& rhs)`` . From my understanding, the variable name ``rhs`` is commonly used for the...

Move constructor: ``` * m_isValid (bool) exchange(rhs.m_isValid, true) * m_invalidKey (std::string) std::move() * m_pMemory (shared_memory_holder) std::move() * m_pNode (node*) exchange(rhs.m_pNode, nullptr) ``` This leaves the moved-from Node as if it...

The following unit test fails ``` #include "gtest/gtest.h" #include #include TEST(VectorErase, ProducesVectorContainingCorrectElements) { YAML::Node a; a["name"] = "a"; YAML::Node b; b["name"] = "b"; YAML::Node c; c["name"] = "c"; std::vector vec{a,...

Looks like build `YAML_CPP_BUILD_TESTS=ON` causes build against bundled `gtest` (test/gtest-1.11.0/). Instead using bundled `gtest` better wold be requires system installed `gtest` and `gmock`.

Please, could YamlCpp have a new version/tag including the fix of the GTest #996 issue? Version 0.7.0 is a bit old.

Hi guys. I can not compile the latest version of yaml-cpp with ```-fno-exception``` in latest gcc and clang. Should fix it? ![2022-10-28_13-10-1666936765](https://user-images.githubusercontent.com/75058860/198514304-10821bad-a1c1-4472-a3f6-30fa9bbb9ddf.jpg)

Hi, First of all - thank you for your great project! I'm wondering - can your iterator_base class be bidirectional iterator? As I know https://github.com/userver-framework/userver project relies on your library...

It would be nice to mark nodes to export multiline strings. Similar to how we can mark them with "SetStyle" to control the output of maps.

There are currently three issues for supporting compilation without exceptions resolves #196 (closed with no changes) resolves #799 (open, no interaction) resolves #930 (open, no interaction) these issue mention the...