Conversation
|
This singleton pattern breaks if the object has a destructor. There is a So I'd go with an intentionally "leaked" heap-allocated object. const Value& nullSingleton() { On Sunday, June 26, 2016, Christopher Dunn notifications@github.com wrote:
ǝnɥɐuop ʎllıq |
Avoid some static initialization problems. From @marklakata See #488
9cd6dbd to
0f288ae
Compare
|
Interesting. I would never have thought of that. Without objection, I'll do a micro-version bump with this. Also on |
Avoid some static initialization problems.
From @marklakata
See #488