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 "\" -

Disabling Android home button for industry application -

asp.net mvc 3 - Unexpected "foreach" keyword after "@" character -