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++/36870] __has_nothrow_constructor violates the ODR



------- Comment #4 from paolo dot carlini at oracle dot com  2008-07-18 21:31 -------
gosh, my memory vanishes. Yes, Andrew is right, we have already discussed this.
In my reading of the specifications (I don't think there are important news
here) the compiler may or may not be able to figure out that a special function
doesn't actually throw, depending on the context. In my (I would say, our)
reading of the specifications there is nothing enforcing this ODR rule here.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36870


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