<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">The difference is that meters_per_second is an object,</div>
not a type:<br>
<br>
static const si::velocity meters_per_second;<br></blockquote><div><br></div><div>I see. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At this point, I prefer to use the type, because<br>

I don&#39;t like having to come up with two different<br>
names for the type and the global constant.</blockquote><div> </div><div>That is a pain.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I suppose that it would also be possible to use only the<br>

object, and use decltype whenever you need a type.</blockquote><div><br></div><div>I tried using the decltype to get the type but got an error.  Is this how you meant to use it?</div><div><br></div><div>typedef  metric::nautical_mile_base_unit::unit_type nautical_mile_unit;</div>
<div>static const nautical_mile_unit nautical_mile;</div><div><br></div><div>quantity&lt;decltype(nautical_mile)&gt;(2.3 * nautical_mile);</div><div><br></div><div>Ryan</div></div>

