SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
seqan3::const_reference< t > Struct Template Reference

Exposes the const_reference of another type. More...

#include <seqan3/core/type_traits/pre.hpp>

+ Inheritance diagram for seqan3::const_reference< t >:

Detailed Description

template<typename t>
struct seqan3::const_reference< t >

Exposes the const_reference of another type.

Template Parameters
tThe type you wish to query.
See also

This is a pure declaration, you need to create a definition for concrete types or specialized or constrained templates.

There is a shortcut for this transformation trait: seqan3::const_reference_t

This transformation trait is not overloaded for iterators by default, but it is for ranges.
If t models std::ranges::range use std::ranges::range_reference_t<t const> instead or if t models std::input_iterator use std::iter_reference_t<t const> instead.

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