c++ - Braces After Initialization Lists -


class foo {     foo(double initvalue): storeddouble(initvalue)     {     }      double storeddouble; } 

is there syntax allow me skip out on curly braces after initialization list? know it's minor thing, i'd concise possible in code.

no, because foo( double initvalue ) method , methods must have opening , closing braces.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

web applications - Making Python scripts work on MAMP -

cocoa - Converting NSString to keyCode+modifiers for AXUIElementPostKeyboardEvent -