This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32658] Supposedly illegal conversion compiles without errors
- From: "widman at gimpel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2007 15:56:45 -0000
- Subject: [Bug c++/32658] Supposedly illegal conversion compiles without errors
- References: <bug-32658-11053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from widman at gimpel dot com 2007-08-02 15:56 -------
(In reply to comment #4)
> I should note that I do NOT want to see this bug fixed. I would prefer to hear
> that you won't "fix" it at all. So I can exploit this behavior as there is no
> standards-compliant way of achieving the same results.
Is it possible that rvalue references will give you an alternative for the
desired effect? See the relevant papers linked to from here:
http://open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2291.html
--
widman at gimpel dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |widman at gimpel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32658