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

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -