summaryrefslogtreecommitdiff
path: root/doc/html/BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE.html')
-rw-r--r--doc/html/BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/html/BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE.html b/doc/html/BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE.html
index 42590ba7d3..8d8f1f0b6e 100644
--- a/doc/html/BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE.html
+++ b/doc/html/BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE.html
@@ -34,7 +34,7 @@
</span>BOOST_UNITS_DEFINE_CONVERSION_FACTOR_TEMPLATE(Params, Source, Destination, type_, value_)</pre></div>
<div class="refsect1">
-<a name="idp581293168"></a><h2>Description</h2>
+<a name="idp562301008"></a><h2>Description</h2>
<p>Defines the conversion factor from a base unit to any other base unit with the same dimensions. Params should be a Boost.Preprocessor Seq of template parameters, such as (class T1)(class T2) All uses of must appear at global scope. The reverse conversion will be defined automatically. This macro is a little dangerous, because, unlike the non-template form, it will silently fail if either base unit is scaled. This is probably not an issue if both the source and destination types depend on the template parameters, but be aware that a generic conversion to kilograms is not going to work. </p>
</div>
</div>