This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/37906] has_trivial_default_constructor vs. deleted copy ctor



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]