@Jonathan_Blow Programming rule #1: Never, ever call "new" :P
@komiga The majority of the time I use clear-to-zero as init. If there is (very) good reason, I allow an init function.
-
-
@cmuratori I see. No constructors (or "special member functions" in general), either? -
@cmuratori I personally find that placement new (by ctor or aggregate-init/copy) allows me to concisely alloc-and-init simultaneously. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.