
27 May
2009
27 May
'09
3:10 p.m.
On 30.04.2009, at 17:50, David Abrahams wrote:
Ideally, "has a move constructor" would mean
- when constructed from an rvalue of the same type, a copy constructor with signature T(T const&) is not used.
though I would settle for
- has a constructor with the signature T(T&&)
I'm willing to use G++-specific hackery if necessary.
I strongly suspect it's impossible, but if you can think of any way to do it, I'd really appreciate knowing about it. You'll be my hero forever ;-)
While I realize it might be too late for your needs (BoostCon) and what I have is incomplete, I still hope the following is useful as a starting point towards a real has_move_constructor: Tested with GCC 4.4.0 Regards, Daniel