19 Nov
2012
19 Nov
'12
2:23 p.m.
Hi Steve,
On Sun, Nov 18, 2012 at 7:27 PM, Steve Lorimer
What happens if you drop the ::type from is_same?
void read_data_24( typename enable_if< mpl::and_< mpl::true_, mpl::bool_< is_same< T1, T2 >::value > > >::type* /* ptr */ = 0)
(I don't have VS compiler so can't test - but dropping ::type from is_same still compiles fine on gcc 4.7.0 for me)
Yes that worked for me. Thanks a lot! One more thing do I actually need to build a mpl::bool_ out of the is_same function? Christian