fktn-k / fkYAML

A C++ header-only YAML library
MIT License
69 stars 7 forks source link

#240 Support non-string-scalar node keys in basic_node ctor with std::initializer_list #247

Closed fktn-k closed 10 months ago

fktn-k commented 10 months ago

In this PR, non-string-scalar nodes (like mappings or integer scalar nodes) have been supported in the fkyaml::basic_node's constructor with std::initializer_list.
The unit test has also been modified according to the changes above.


Pull Request Checklist

Read the CONTRIBUTING.md file for detailed information.

Please don't

coveralls commented 10 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling 619e6066e3aa5fc93eb238caa701ed1a4a1847e5 on feature/240_construct_mappings_with_initializer_list into 5694a455f3e6684fbd7a1d8b59060bdd70de90f1 on develop.