• Stephan Bergmann's avatar
    error: friend declaration specifying a default argument must be a definition · 39f42b0b
    Stephan Bergmann yazdı
    ...(Clang trunk towards 3.4); this appears to be specific to C++11, which added at
    the end of 8.3.6/4 [dcl.fct.default]:  "If a friend declaration specifies a default
    argument expression, that declaration shall be a definition and shall be the only
    declaration of the function or function template in the translation unit."
    
    Change-Id: I750c60a2206d7af41322ebb31aa6deca2491067f
    39f42b0b
viewsh.hxx 22.6 KB