Skip to content

Simple stream manipulation when writing a toml::table to a file #304

Description

@carand

Assuming we want write a toml::table to a file I would like a easy way to say in which order the notes will be written or in which precision we want to output different floating point arrays. As far I have seen for now we need to iterate manually over the nodes and decide what we want to do now.

I would like to have something like an output interface where I can decide in which order the nodes will be written ( inserted order, alphabetical ...) and for float arrays I would like to have something like std::setprecission.

Does the library have something like this an I just have not seen it? Otherwise can we do something like this?

Metadata

Metadata

Assignees

Labels

featureNew feature or enhancement request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions