Boost logo

Boost :

From: Powell, Gary (powellg_at_[hidden])
Date: 2004-02-09 20:12:53


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-




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk