| Home | Libraries | People | FAQ | More

#### underlying_row_t

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>`