Empty struct, any runtime cost?

SimonN via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 19 03:11:39 PDT 2015


On Wednesday, 19 August 2015 at 09:54:33 UTC, SimonN wrote:
> Hi,

I've found this thread (Theoretical best practises):
http://forum.dlang.org/thread/codmadrwuyqxbklmuoiy@forum.dlang.org

My goal is the same; I'm only more wary of putting debug/version
everywhere. If the empty struct isn't optimized away fully,
I'd still be up for what's recommended in that thread.

-- Simon


More information about the Digitalmars-d-learn mailing list