• Thorsten Behrens's avatar
    Validate cow_wrapper static default pattern. · fb8dd00d
    Thorsten Behrens yazdı
    A bunch of objects use the optimization to assign one single,
    unique default object to default-ctored instances, and decide
    on whether any given object is in 'default' state by ptr-comparing
    against this one unique instance. Simulating that pattern here.
    
    Change-Id: I88f7d8488d81bcf1a01ab6b63121e003b8f0ade9
    fb8dd00d
test-cow_wrapper.cxx 7.24 KB