Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template structure_tie

boost::pfr::structure_tie — std::tie` like function that ties fields of a structure.

Synopsis

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


template<typename T>  ( val);

Description

Example:

Returns:

a std::tuple with lvalue and const lvalue references to fields of an simple aggregate val.


PrevUpHomeNext