fktn-k / fkYAML

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

Feature/232 user defined literal for deserialization #235

Closed fktn-k closed 10 months ago

fktn-k commented 10 months ago

User-defined string literals for YAML node objects have been implemented for input character sequences encoded in UTF-8, UTF-16 or UTF-32 format.
To follow the conventions in the standard library (like the literals declared in the \<chrono> header), the operator is declared in the namespace fkyaml::literals::yaml_literals, where both literals and yaml_literals are inline namespaces.
Access to the operator can be gained with:

The newly added namespace literals is assumed to be used for other user-defined literals possibly implemented in the future.


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 dee621b191b8f73b2f254c67caf037dcc43a3811 on feature/232_user_defined_literal_for_deserialization into be5f6387ab57e47566ab035ccefb61b61903666a on develop.