Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-11-18 20:25:10


"Robert Ramey" <ramey_at_[hidden]> writes:

> What I needed was a type that had the functioning of say an unsigned
> integer but was of a distinguishable type. What do other people
> mean when the say they want a strong typedef?

That's roughly what they mean. But IIRC you actually needed much less
than that, and so didn't even begin to attempt to implement all of it.
For example, IIRC you can't add two instances of your type.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net