This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] c++0x common_type patch
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Chris Fairles <chris dot fairles at gmail dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 4 Jul 2008 08:13:27 -0500 (CDT)
- Subject: Re: [v3] c++0x common_type patch
- Accept-language: en-US
- References: <fac6bb500807031415l72b6c934xa50025aa42ab05a2@mail.gmail.com>
Hi Chris,
thanks for the updated patch. The __typeof__ workaround makes me really nervous, I don't think we want to use it in new code, I'm wondering if we should instead wait for 36628 to be dealt with properly...
> I just want to make sure this is intentional and that common_type
> isn't expected to try every permutation of the given types.
this is also interesting. Did you consider raising the issue on comp.lang.c++.moderated?
Paolo.