search for: binarypredicate

Displaying 5 results from an estimated 5 matches for "binarypredicate".

2011 Mar 09
2
[LLVMdev] MSVC compiling issue
...very bad idea). > I hoped the symmetric methods would be enough to trick MSVC into compiling it. Does that mean, that gcc actually only needs bool operator()(const LiveRange&A, SlotIndex B) ? According to C++(2003) 25.0.0.8 the answer is "yes", however that section talks about BinaryPredicate and not Compare. The standard is rather unclear at this point and I'm going over to comp.std.c++ to ask. Best regards Olaf Krzikalla
2011 Mar 09
0
[LLVMdev] MSVC compiling issue
...would be enough to trick MSVC into compiling it. > Does that mean, that gcc actually only needs > > bool operator()(const LiveRange&A, SlotIndex B) ? Actually, the other way around. > According to C++(2003) 25.0.0.8 the answer is "yes", however that section talks about BinaryPredicate and not Compare. The standard is rather unclear at this point and I'm going over to comp.std.c++ to ask. Howard Hinnant was kind enough to clarify this a while back. http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-August/010379.html >
2011 Mar 08
0
[LLVMdev] MSVC compiling issue
On Mar 8, 2011, at 1:07 AM, Olaf Krzikalla wrote: > Hi @llvm, > > building a debug version under MSVC 9 leads to a compiler error due to a > mix of different types in a call to upper_bound. I have attached a > hot-fix but I'm rather unsure if it should be applied as it is, since > IMHO the reason is a MSVC library bug ("IMHO", because I don't know the >
2011 Mar 12
1
[LLVMdev] MSVC compiling issue
...VC into compiling it. >> Does that mean, that gcc actually only needs >> >> bool operator()(const LiveRange&A, SlotIndex B) ? > > Actually, the other way around. > >> According to C++(2003) 25.0.0.8 the answer is "yes", however that section talks about BinaryPredicate and not Compare. The standard is rather unclear at this point and I'm going over to comp.std.c++ to ask. > > Howard Hinnant was kind enough to clarify this a while back. > > http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-August/010379.html >> > > > > _____________...
2011 Mar 08
4
[LLVMdev] MSVC compiling issue
Hi @llvm, building a debug version under MSVC 9 leads to a compiler error due to a mix of different types in a call to upper_bound. I have attached a hot-fix but I'm rather unsure if it should be applied as it is, since IMHO the reason is a MSVC library bug ("IMHO", because I don't know the requirements imposed to the predicate by the standard). Best regards Olaf Krzikalla