herald
2.0.0
|
#include <distance.h>
Public Member Functions | |
Distance (double value) | |
Distance (const Distance &other) | |
Distance (Distance &&other) | |
Distance & | operator= (const Distance &other) |
Distance & | operator= (Distance &&other) |
bool | operator== (const double other) const noexcept |
bool | operator!= (const double other) const noexcept |
bool | operator== (const Distance &other) const noexcept |
bool | operator!= (const Distance &other) const noexcept |
bool | operator< (const Distance &other) const noexcept |
bool | operator<= (const Distance &other) const noexcept |
bool | operator> (const Distance &other) const noexcept |
bool | operator>= (const Distance &other) const noexcept |
operator double () const noexcept | |
std::size_t | hashCode () const noexcept |
Public Attributes | |
double | value |
Simple distance value in metres Has to be a class/struct type to allow template resolution