This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52363] Presence/absence of -pedantic compilation affects run-time behavior
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 18 Apr 2012 13:29:10 +0000
- Subject: [Bug c++/52363] Presence/absence of -pedantic compilation affects run-time behavior
- Auto-submitted: auto-generated
- References: <bug-52363-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52363
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-04-18 13:29:10 UTC ---
Oh, and isn't really a run-time issue:
#include <type_traits>
struct proxy
{
void operator=(int const&);
void operator=(int &&) const;
};
static_assert( std::is_assignable<proxy, int>::value, "" );