
13 Feb
2005
13 Feb
'05
1:58 p.m.
David Abrahams wrote:
I'll ask again: what is the point of using types for states?
You can't easily emulate is-a relationship with numbers. With classes you just derive one class from another. My example demonstrates this technique.
I don't know if I do so, yet ;-)
I mean I _can_ do so but switching to mpl concept doesn't go smoothly. Currently, I'm trying to understand why size of mpl::set<id<1>, id<2> > is 2 while distance between begin and end is one? -- Alexander