Skip to main content
1 of 2
lyngvi
  • 1.4k
  • 12
  • 20

If you want to be evil, you can use the in-place "new" operator:

class Foo() { Foo() { /* default constructor deliciousness */ } Foo(Bar myParam) { new (this) Foo(); /* bar your param all night long */ } }; 

Seems to work for me.

lyngvi
  • 1.4k
  • 12
  • 20