Displaying 3 results from an estimated 3 matches for "n1385".
Did you mean:
1385
2004 Apr 23
2
[LLVMdev] subtle problem with inst_iterator
...rator() of
that object has the following signature:
template<class Arg1>
.... operator()(Arg& a1)
and since result of *it is considered to be rvalue it can't be accepted by
this operator. The complete discussion is in
http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1385.htm
I'd suggest to apply the following patch which makes operator* return
reference to pointer. It makes my code compile and the rest of LLVM compiles
too. Comments?
- Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iterator.diff
Type: text...
2004 Apr 23
0
[LLVMdev] subtle problem with inst_iterator
On Fri, 23 Apr 2004, Vladimir Prus wrote:
> and since result of *it is considered to be rvalue it can't be accepted by
> this operator. The complete discussion is in
>
> http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1385.htm
>
> I'd suggest to apply the following patch which makes operator* return
> reference to pointer. It makes my code compile and the rest of LLVM compiles
> too. Comments?
Hrm, I'm not sure about this at all. In particular ilists have some funny
semantics that you should kno...
2004 Apr 23
2
[LLVMdev] subtle problem with inst_iterator
Chris Lattner wrote:
> On Fri, 23 Apr 2004, Vladimir Prus wrote:
> > and since result of *it is considered to be rvalue it can't be accepted
> > by this operator. The complete discussion is in
> >
> > http://std.dkuug.dk/jtc1/sc22/wg21/docs/papers/2002/n1385.htm
> >
> > I'd suggest to apply the following patch which makes operator* return
> > reference to pointer. It makes my code compile and the rest of LLVM
> > compiles too. Comments?
>
> Hrm, I'm not sure about this at all. In particular ilists have some funny...