This patch implements CWG DR21 [*]

Interestingly, we properly handled default template arguments on friend
class members but not on just friend classes:
struct A {
  template <class T1> void foo();
};
class B {
  template <class T1 = int> friend void A::foo();
};

[*] http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#21

-- 
David Majnemer

Attachment: dr21.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to