This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] "SFINAE-friendly" std::common_type and more
- From: Daniel Krügler <daniel dot kruegler at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 10 Oct 2012 14:06:11 +0200
- Subject: Re: [v3] "SFINAE-friendly" std::common_type and more
- References: <5074A64D.1070106@oracle.com> <5075640A.9080902@oracle.com>
2012/10/10 Paolo Carlini <paolo.carlini@oracle.com>:
> ... tested x86_64-linux. Committed to mainline.
I'd like to mention that this patch does not reflect what the core
language says, e.g.
static_assert(is_type<std::common_type<int&&, int&&>, int>(), "");
Should assert, the correct result being int&&. The test currently
holds because of compiler bug 53000.
- Daniel