Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template io_fields

boost::pfr::io_fields

Synopsis

// In header: <boost/pfr/io_fields.hpp>


template<typename T>  ( value);

Description

IO manipulator to read/write simple aggregate value field-by-field.

Example:

Input and output streaming operators for boost::pfr::io_fields are symmetric, meaning that you get the original value by streaming it and reading back if each fields streaming operator is symmetric.

See Also : 'Custom printing of aggregates' for info on how to implement your own manipulator with custom format.


PrevUpHomeNext