Doxygen documentation added

This commit is contained in:
Mateusz Pusz committed 2020-05-13 15:33:29 +02:00
1 parent 64a8b32b8f
commit e58c8054bc
5 files changed
+80 -8

No files matched your search

+8
View File
@@ -189,6 +189,14 @@ struct dimension_unit_impl<D> {
} // namespace detail
/**
* @brief Returns a 'default' unit of the dimension
*
* Depending on the dimension type it returns a base unit (for base dimensions)
* or a coherent unit (in case of derived dimensions).
*
* @tparam D Dimension type to get the unit from.
*/
template<Dimension D>
using dimension_unit = detail::dimension_unit_impl<D>::type;