Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Fields
inserter< T > Struct Template Reference

Helper class for suppressing move-construction in single-argument array constructors. More...

#include <forward_declarations.hpp>

Data Fields

T value
 

Detailed Description

template<typename T>
struct inserter< T >

Helper class for suppressing move-construction in single-argument array constructors.

\detail \cpp // desired result: [ [ 42 ] ] auto bad = toml::array{ toml::array{ 42 } }; auto good = toml::array{ toml::inserter{ toml::array{ 42 } } }; std::cout << "bad: " << bad << "\n"; std::cout << "good:" << good << "\n"; \ecpp \out bad: [ 42 ] good: [ [ 42 ] ] \eout

See also
toml::array

Definition at line 368 of file forward_declarations.hpp.

Field Documentation

◆ value

template<typename T >
T inserter< T >::value

Definition at line 371 of file forward_declarations.hpp.


The documentation for this struct was generated from the following file: