Open GoogleCodeExporter opened 9 years ago
I have the same in Visual Studio 2012 Update 1.
Original comment by felipe.a...@gmail.com
on 8 Feb 2013 at 1:21
Obs.: I was using the source code v1.0.1
Original comment by felipe.a...@gmail.com
on 8 Feb 2013 at 1:24
OK, I'm re-installing my Windows machine at the moment. Please keep me posted,
I'll catch up with you eventually.
Original comment by josh.mac...@gmail.com
on 9 Feb 2013 at 7:21
Original comment by josh.mac...@gmail.com
on 9 Feb 2013 at 7:21
Do not very understanding the code :
staitc key_compare key_compare_helper() with its comment, is that OK ? cuz
operator() does required an object setup, why not just init an object
key_compare ?
// A never instantiated helper function that returns the key comparison
// functor.
if I use 'key_compare()' itself not this method, thus vs2012 won't report
error. but that's may NOT the intent of the original wanna ... maybe it would
support n > 2 ??
Original comment by littlewa...@gmail.com
on 14 Feb 2013 at 4:11
I kept the code as close to the original as possible adding .operator() after
key_compare_helper() , getting
COMPILE_ASSERT(
sizeof(key_compare_checker(key_compare_helper().operator()(key_type(), key_type()))) ==
sizeof(big_),
key_comparison_function_must_return_bool);
Original comment by davidepa...@gmail.com
on 4 Aug 2013 at 8:50
Original issue reported on code.google.com by
christop...@gmail.com
on 4 Feb 2013 at 2:18