ztsdb
Public Member Functions | List of all members
ztsdb::plus< T, U, R > Struct Template Reference

#include <misc.hpp>

Public Member Functions

operator() (const T &t, const U &u) const
 

Detailed Description

template<typename T, typename U, typename R>
struct ztsdb::plus< T, U, R >

This set of functors, to the contrary of the stdlib, allow operations where the operands and the results are of different types. This is handy for example is adding duration to time points, etc.


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