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

mass_density.hpp
Go to the documentation of this file.
1 
9 #ifndef EAGINE_UNITS_DIM_MASS_DENSITY_HPP
10 #define EAGINE_UNITS_DIM_MASS_DENSITY_HPP
11 
12 #include "volume.hpp"
13 
14 namespace eagine::units {
15 
16 using mass_density = decltype(mass() / volume());
17 
18 template <>
19 struct name_of<mass_density> {
20  static constexpr const char mp_str[] = "mass density";
21 };
22 
23 } // namespace eagine::units
24 
25 #endif // EAGINE_UNITS_DIM_MASS_DENSITY_HPP

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