...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Type trait to retrieve the underlying row type.
Defined in header <boost/mysql/underlying_row.hpp>
template<
class StaticRow
>
using underlying_row_t = see-below;
Given an input type T
satisfying
the StaticRow
concept, this
trait is an alias for its underlying row type. It is defined as follows:
T
is a marker type,
like pfr_by_name<U>
,
underlying_row_t
is an
alias for the marker's inner type U
.
T
is not a marker
type (e.g. it's a Boost.Describe struct or a std::tuple
),
underlying_row_t
is an
alias for T
.
For instance, static_results::rows
uses this trait to determine
its return type.