Boost logo

Boost :

From: Eric Ford (eford_at_[hidden])
Date: 2001-09-24 14:15:09

> I think Daryle's point is that we want to attach a name to these
> subtypes for printing. Probably this could be handled by the usual
> "curiously recursive template."
> class metal_weight: public SI_weight_extender<metal_weight>
> {
> static string printable_name = "metal weight";
> }

Sounds good. Minor point: In normal English I typically say things
like "20 kilograms of aluminum" or "10 pounds of rice". Since any
weight must have some units, I would think giving "metal" (or maybe
"of metal" if some languages would need different qualifiers) would be
a better idea.

Boost list run by bdawes at, gregod at, cpdaniel at, john at