On Tue, Sep 4, 2012 at 11:07 PM, Diego Novillo <dnovi...@google.com> wrote: > Fix bootstrap failure with clang++. > > This patch fixes a bootstrap failure when using clang as the host > compiler. Default arguments for class template member functions > should be added in the declaration, not the definition. > > From Jason: > >> 8.3.6 says "Default arguments for a member function of a class template shall >> be specified on the initial declaration of the member function within the >> class template."
If GCC doesn't diagnose this, what is there to avoid this problem in the future? Ciao! Steven