![]() |
LibCarna Version 3.4.0
|
Defines an interval \(\left[a, b\right]\) with \(a,b \in\) T. More...
#include <Span.hpp>
Public Member Functions | |
Span () | |
Instantiates. | |
Span (const T &first, const T &last) | |
Span (const Span< T > &other) | |
Copies other. | |
bool | operator== (const Span< T > &other) const |
Returns whether this span equals other. | |
bool | operator< (const Span< T > &other) const |
Compares this span to other. | |
Public Attributes | |
T | first |
Holds the \(a\) of \(\left[a, b\right]\). | |
T | last |
Holds the \(b\) of \(\left[a, b\right]\). | |
Defines an interval \(\left[a, b\right]\) with \(a,b \in\) T.
LibCarna::base::math::Span< T >::Span | ( | ) |
LibCarna::base::math::Span< T >::Span | ( | const T & | first, |
const T & | last | ||
) |
LibCarna::base::math::Span< T >::Span | ( | const Span< T > & | other | ) |
bool LibCarna::base::math::Span< T >::operator< | ( | const Span< T > & | other | ) | const |
bool LibCarna::base::math::Span< T >::operator== | ( | const Span< T > & | other | ) | const |
T LibCarna::base::math::Span< T >::first |
T LibCarna::base::math::Span< T >::last |
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen