fktn-k / fkYAML

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

#105 Support std::initializer_list in basic_node constructors #173

Closed fktn-k closed 12 months ago

fktn-k commented 12 months ago

It has been supported to construct basic_node objects with std::initializer_list object.
As a helper class, node_ref_storage class has also been implemented to wrap basic_node {l|r}values in std::initializer_list objects, which aims to increase memory efficiency and thus performance in constructing a new basic_node object.

Furthermore, Test cases for newly added public/private APIs have been added to cover the whole parts of the fkYAML library's implementation.

Related items: #105.

coveralls commented 12 months ago

Coverage Status

coverage: 100.0%. remained the same when pulling c7b61035cbfbdc284548868d52484c484a64845f on feature/105_ctor_with_init_list into a95cc89d7eb2ed1e3a5063fdabfce1d21a76f7ee on develop.