[Units] root_typeof_helper documentation
Hello. I ran across a slight documentation issue when using Boost.Units
root_typeof_helper.
http://www.boost.org/doc/libs/1_37_0/doc/html/boost/units/root_typeof_helper...
and operators.hpp
The issue is that BaseType is not defined. (Was that code copied from
power_typeof_helper?)
In addition, for both power_typeof_helper and root_typeof_helper, it
would be useful to mention that Exponent and Index are of type
boost::units::static_rational
AMDG David Walthall wrote:
Hello. I ran across a slight documentation issue when using Boost.Units root_typeof_helper. http://www.boost.org/doc/libs/1_37_0/doc/html/boost/units/root_typeof_helper... and operators.hpp
The issue is that BaseType is not defined. (Was that code copied from power_typeof_helper?)
Apparently so.
In addition, for both power_typeof_helper and root_typeof_helper, it would be useful to mention that Exponent and Index are of type boost::units::static_rational
.
Well, in principle, it could be specialized for other types. I'll at least link them to the corresponding pow and root functions. In Christ, Steven Watanabe
participants (2)
-
David Walthall
-
Steven Watanabe