Boost C++ Libraries

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

underlying_row_t
PrevUpHomeNext

Type trait to retrieve the underlying row type.

Synopsis

Defined in header <boost/mysql/underlying_row.hpp>

template<
    class StaticRow>
using underlying_row_t = see-below;
Description

Given an input type T satisfying the StaticRow concept, this trait is an alias for its underlying row type. It is defined as follows:

  • If T is a marker type, like pfr_by_name< U >, underlying_row_t is an alias for the marker's inner type U.
  • If 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.

Convenience header <boost/mysql.hpp>


PrevUpHomeNext