A Time type supports right-addition with a double, and subtraction of two time types should be converible to a double.
More...
template<typename T>
{
{time_trait<T>::plus(t1, t_dbl)}->std::convertible_to<T>;
}
A Time type supports right-addition with a double, and subtraction of two time types should be conver...
Trait class to specify Time operations.
A Time type supports right-addition with a double, and subtraction of two time types should be converible to a double.
- Note
- This is analogous to a one-dimensional Manifold with tangent type double.
Definition at line 25 of file time.hpp.