Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-11-18 23:27:27


David Abrahams wrote:
> "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.

The following program does compile:


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