Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Global csv_decor



// In header: <boost/log/expressions/formatters/csv_decorator.hpp>

unspecified csv_decor;


CSV-style decorator generator object. The decorator doubles double quotes that may be found in the output. See for more information on the CSV format. The generator provides operator[] that can be used to construct the actual decorator. For example:

csv_decor[ stream << attr< std::string >("MyAttr") ]

For wide-character formatting there is the similar wcsv_decor decorator generator object.