[Bug c++/40497] invalid std::next / std::prev declaration

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 21 11:08:00 GMT 2009



------- Comment #16 from paolo dot carlini at oracle dot com  2009-06-21 11:08 -------
This is interesting and indeed, I'm not at all sure it's a C++ bug, but I seem
to remember an open PR about SFINAE vs defaults, we should check. As regards
the library side, anyway, I'm against putting in place ugly workarounds, do not
really make sense in this case. These next/prev are supposed to be very
straightforward facilities, straightforward to implement when concepts are
available. If it turns out they just make more difficult testing the other
C++0x bits we already have in place we'll simply remove the code for now: let's
make sure we don't ship 4.4.1 with this issue open.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo dot carlini at oracle
                   |                            |dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40497



More information about the Gcc-bugs mailing list