diff --git a/au/math.hh b/au/math.hh index 499194ac..5566978d 100644 --- a/au/math.hh +++ b/au/math.hh @@ -319,7 +319,7 @@ constexpr bool isnan(QuantityPoint p) { } namespace detail { -// Some compilers do not support lambdas in constexpr contexts, so we make a manual function object. +// We can't use lambdas in `constexpr` contexts until C++17, so we make a manual function object. struct StdMaxByValue { template constexpr auto operator()(T a, T b) const { @@ -374,7 +374,7 @@ constexpr auto max(T x, Zero z) { } namespace detail { -// Some compilers do not support lambdas in constexpr contexts, so we make a manual function object. +// We can't use lambdas in `constexpr` contexts until C++17, so we make a manual function object. struct StdMinByValue { template constexpr auto operator()(T a, T b) const {