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

Exposes the difference_type of another type. More...

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

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

Detailed Description

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

Exposes the difference_type of another type.

Template Parameters
tThe type you wish to query.
See also
seqan3::difference_type_t

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::difference_type_t

Deprecated:
If t models std::ranges::range use std::ranges::range_difference_t instead or if t models std::input_iterator use std::iter_difference_t instead.

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