OGLplus  (0.59.0) a C++ wrapper for rendering APIs

quantity.hpp
Go to the documentation of this file.
1 
9 #ifndef EAGINE_UNITS_QUANTITY_HPP
10 #define EAGINE_UNITS_QUANTITY_HPP
11 
12 #include "../tagged_quantity.hpp"
13 
14 namespace eagine::units {
15 
16 template <typename U, typename T>
17 static inline tagged_quantity<T, U> quantity(const T& value) {
18  return tagged_quantity<T, U>(value);
19 }
20 
21 } // namespace eagine::units
22 
23 #endif // EAGINE_UNITS_QUANTITY_HPP

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).