Displaying 2 results from an estimated 2 matches for "undeclare_reach".
2009 Dec 03
0
[LLVMdev] patch for portability
...yet more complicated solution.
Note that this is a larger issue than just next(). The C++0X standard is introducing several new generic free functions in several existing headers:
<iterator>
next
prev
begin
end
<utility>
move
forward
<memory>
addressof
undeclare_reachable
<functional>
ref
cref
bind
<algorithm>
all_of
any_of
none_of
move
copy_if
<numeric>
iota
(this is not a complete list). Additionally when /any/ two libraries are mixed (e.g. llvm and boost), there is a large potential for name clashes even when...
2009 Dec 03
3
[LLVMdev] patch for portability
Sorry, always end up not replying to the list:
The main issue with dealing with next this way is that people adding new
uses of next will probably not be using c++0x and therefore won't know it's
ambiguous and that it needs to be qualified.
There are also two issues with rvalue references and the STL:
1. EquivalenceClasses, in the insert and findLeader functions, it uses map
functions