[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons
sebastian dot redl at getdesigned dot at
gcc-bugzilla@gcc.gnu.org
Tue Jun 2 18:45:00 GMT 2009
------- Comment #3 from sebastian dot redl at getdesigned dot at 2009-06-02 18:45 -------
Curiously enough, N2857 doesn't even require that exception_ptr be usable in
conditions. I must have simply assumed that anything with _ptr in its name must
be a valid condition.
So yeah, if the ABI can take it, I'm all for removing that operator. Can it,
though?
If not, it's a pretty mess. We'd have to define a lot of comparison operators
to cover for the conversion, i.e. at least a quad (== and !=, with the
non-exception_ptr on the left and the right side) for int, long, and nullptr_t.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40296
More information about the Gcc-bugs
mailing list