OSVR-Core
|
Header. More...
Go to the source code of this file.
Functions | |
template<typename Rep , typename Period > | |
OSVR_TimeValue | operator+ (OSVR_TimeValue const &tv, std::chrono::duration< Rep, Period > const &additionalTime) |
Add a util::time::TimeValue and a std::chrono::duration. More... | |
Header.
|
inline |
Add a util::time::TimeValue and a std::chrono::duration.
NB: Can't have this in the usual namespaces because TimeValue is actually a typedef for the (un-namespaced) C struct, so ADL doesn't go looking in those namespaces, just in std:: and std::chrono:: (because of the second argument).