Laurent Tréguier wrote:

Is this behavior really intentional ?
yes. default values should be the same for all objects. it is predictable, and allows to initialize objects to the known state simply by blitting `.init`.

that is, default values aren't a syntax sugar for defining implicit ctor actions, they are executed once. this is by design.

Reply via email to