[cfe-dev] Proposed C++ optimization with big speed gains with big objects

Lars Viklund zao at acc.umu.se
Wed Sep 26 14:39:19 PDT 2012


On Wed, Sep 26, 2012 at 01:47:41AM -0700, Ladislav Nevery wrote:
> yes state machine will change. ie if you were doing let's say gets(from
> file) in default constructor. you will get change in code logic since one
> more default constructor was invoked once more.
> but this is bad design.

"Bad design" is subjective. Writing code against the standard isn't.

-- 
Lars Viklund | zao at acc.umu.se



More information about the cfe-dev mailing list