https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597

Adrien Hamelin <adrien.hamelin+gcc at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33002|0                           |1
        is obsolete|                            |

--- Comment #9 from Adrien Hamelin <adrien.hamelin+gcc at gmail dot com> ---
Created attachment 33003
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33003&action=edit
Preprocessed file

Sorry to do such mutliple post, this one should be the last, i removed the
custom iterator - it has nothing to do with the bug.

So same as before, the function line 10 does not work when it takes a copy
parameter, and the function line 17 does work when it takes the parameter as
reference.

The new code: http://coliru.stacked-crooked.com/a/9a724fdda9ef1d06

Reply via email to