
5 Oct
2012
5 Oct
'12
6:37 p.m.
Hello, 05.10.2012 22:08, Lorenzo Caminiti wrote:
One a separate note, why the following SFINAE impl of EqualityComparable returns 0 on std::common_type<int, int>::type?
gcc-4.5.1 returns 1. Try this test on Clang: http://ideone.com/Pdube EqualityComparable<remove_refs<std::common_type<int,int>::type>::type>::value returns 1 on Clang 3.2. Note difference in printed types on GCC/Clang (rval ref). Best Regards, Evgeny