docs: TODO added

The suggested code still is not supported by the latest available VS version
This commit is contained in:
Mateusz Pusz
2020-09-08 23:00:00 +02:00
parent 5d62dda479
commit dba2b7f44f

View File

@@ -185,6 +185,13 @@ auto default_unit()
*/
template<Dimension D>
using dimension_unit = decltype(detail::default_unit<D>());
// TODO: replace with the below code when VS catches up
// decltype([]{
// if constexpr (BaseDimension<D>)
// return TYPENAME D::base_unit{};
// else
// return TYPENAME D::coherent_unit{};
// }());
/**
* @brief A concept matching only units of a specified dimension.