
10 Feb
2004
10 Feb
'04
1:12 a.m.
Just because I like this sort of stuff, I added a test case with 1 level of inheritence, and it works pretty well. There is a minor amount of trickiness to get the derived class to call the right base class constructor. Just need to remember to use the ref.p. All in all I like it better than the MOJO soln which IMO was much more invasive. (I still like the core soln of adding && to indicate you are taking a move reference though, seems to be less error prone to code IMHO.) tested only on gcc 3.22 (2.93 fails miserably.) Anyway "cool" Dave! Yours, -Gary-