yaml-cpp
                                
                                
                                
                                    yaml-cpp copied to clipboard
                            
                            
                            
                        A YAML parser and emitter in C++
Building for Visual Studio 2019 using shared libraries does not link. Run cmake as follows: `cmake -G "Visual Studio 16 2019" -B build -DYAML_BUILD_SHARED_LIBS=1` Open the project in Visual Studio...
Hi, if i use YAML::Node push_back function, i get error "mingw32/bin/ld.exe: src\util\file\yaml\yaml.o: in function `ZNSt13__atomic_baseIjE9fetch_addEjSt12memory_order': C:/TDM-GCC-32/lib/gcc/mingw32/10.3.0/include/c++/bits/atomic_base.h:548: undefined reference to `YAML::detail::node::m_amount'" Same error in clang++ 13.0.0 I use last build of...
Looking at example 5.15 in https://github.com/jbeder/yaml-cpp/blob/master/test/integration/handler_spec_test.cpp: ```C++ OnScalar(_, "!", 0, "Fun with \x5C \x22 \x07 \x08 \x1B \x0C \x0A \x0D \x09 \x0B " + std::string("\x00", 1) + " \x20 \xA0...
## Use Case I included yaml-cpp with [`FetchContent`](https://cmake.org/cmake/help/latest/module/FetchContent.html). I don't want to have in my targets, a `format` target that do not format my main project. ## Fix I introduce...
I use YAML for configuring a software. It looks like this ```yaml foo: bar barafoo: footabar: foofoofoo tabafoorab: batabataba fabfab: 23 ``` I hard-code default values for all of these...
It is possible to use structure binding when we want to iterate through YAML::Node? ``` for(const auto& n : node) { auto a = n.first.as(); auto b = n.second; //...
This code asserts for me in the last IsSequence: ``` YAML::Node node = YAML::Load("r:\n- a: [1,2]"); auto r = node["r"]; for (auto& c : r) { auto a = c["a"];...
Hi. I found it lacking that there is no interface to check for the existence of a key on a YAML Node. The only way to do it at the...
The current API of the `convert::decode` construct is limited to default constructable structs with visible members only. This is limiting and does not follow RAII. The here patch allows to...
I didn't understand what to include to follow the tutorial, so I figured I'd leave some instructions here. The only file (as far as I know) that you have to...