Am 09.04.2014 20:53, schrieb Brian Schott:
On Wednesday, 9 April 2014 at 18:47:41 UTC, Benjamin Thaut wrote:
Thats easy to answer. What would it do if you replace the "struct"
with "class" and the "void" with nothing?

This thread is giving me some fun ideas for static analysis rules.

Just saying, if you do the same with a class, the default constructor is picked and not the one with the default argument. So it should do the same for structs.

Reply via email to