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++/53545] g++ 4.70 --std=c++11 generates no object file, issues no errors


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

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glisse at gcc dot gnu.org

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> 2012-05-31 22:04:33 UTC ---
template<class>
struct HasUpdateMethod {
    template <class U, class... V>
    static void test(U * u, V *... v,
            decltype(u->update(*v...)) * = 0);
};

HasUpdateMethod<int> x;


crashes g++-4.8 -std=c++11 from 1 month ago (can't test current right now).


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