Commit cc362a40 by Brendan Kehoe

tests usage of explicit in a friend decl

From-SVN: r23350
parent 7e83af84
// Build don't link:
// $7.1.2 disallows explicit on anything but declarations of
// constructors ... including friends.
class foo { public: foo(); };
class bar { public: friend explicit foo::foo(); };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment