fkYAML version 0.4.1 #462
Closed
fktn-k
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
✨ New Features
get_value_inplace()converts a node value into a given type and writes the result into a given output parameter.map_items()allows accessing mapping keys/values in range-based for loops.fkyaml::basic_node::iteratorandfkyaml::basic_node::const_iterator.fkyaml::node mapping = {{"a", 123}, {"b", 3.14}}; for (auto& [key, val] : mapping.map_items()) { // `key` and `val` are both of type `fkyaml::node::reference`. std::cout << "key: " << key << ", value: " << val << std::endl; } // output: // key: a, value: 123 // key: b, value: 3.14⚡ Improvements
🐛 Bug Fixes
🤖 CI
FetchContent_Declare( fkYAML URL https://github.com/fktn-k/fkYAML/releases/download/v0.4.1/fkYAML_min.zip ) FetchContent_MakeAvailable(fkYAML)📝 Documentation
Full Changelog
v0.4.0...v0.4.1
This discussion was created from the release fkYAML version 0.4.1.
Beta Was this translation helpful? Give feedback.
All reactions