http://herbsutter.com/2013/05/09/gotw-1-solution/から直接取得
widget w();
私には明らかですが、以下のコードが関数宣言になる方法がわかりませんか?
// same problem (gadget and doodad are types)
//
widget w( gadget(), doodad() ); // pitfall: not a variable declaration
これはどのように可能ですか?
http://herbsutter.com/2013/05/09/gotw-1-solution/から直接取得
widget w();
私には明らかですが、以下のコードが関数宣言になる方法がわかりませんか?
// same problem (gadget and doodad are types)
//
widget w( gadget(), doodad() ); // pitfall: not a variable declaration
これはどのように可能ですか?