24 May
2010
24 May
'10
9:37 p.m.
On 24/05/2010 23:09, Ion Gaztañaga wrote:
But after some strange experiments, and fighting against the elements here's my last try, compiles in MSVC 7.1, 8.0, 9.0, 10.0, gcc 4.3, and Intel 10.0 (edg based). Keep an eye on the catch by non-const reference, plus enable_if trick, to avoid conversion ambiguities:
Maybe const_rv_ref should be called const_rlv_ref, because catches both rv_ref and const T. Best, Ion