This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37906] has_trivial_default_constructor vs. deleted copy ctor
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2008 08:45:45 -0000
- Subject: [Bug c++/37906] has_trivial_default_constructor vs. deleted copy ctor
- References: <bug-37906-365@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from paolo dot carlini at oracle dot com 2008-10-24 08:45 -------
Hi. This issue is really c++, because the library just forwards to the
"builtin" C++ trait. The latter in turn simply uses TYPE_HAS_TRIVIAL_DFLT, thus
seems to me similar to c++/36856, that is the appropriate fix isn't tweaking
the implementation of the traits itself, instead moving forward a bit more the
infrastructure in the C++ front-end to C++1x. I'd like to ask Jason opinion
about this anyway: in a nutshell, do you agree that in c++0x mode,
TYPE_HAS_TRIVIAL_DFLT should just return the correct answer?
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo dot carlini at oracle
| |dot com, jason at gcc dot
| |gnu dot org
Component|libstdc++ |c++
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37906