Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
klodolph
on Aug 31, 2012
|
parent
|
context
|
favorite
| on:
C++11: A generic singleton
Plus some additional reasons: if a singleton is initialized on first use, it might be hard to reason about which kind of environment exists when it is initialized -- what locks are held, etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: