Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gpderetta
11 months ago
|
parent
|
context
|
favorite
| on:
Misra C++:2023
Because two phase construction is a widely disliked idiom. Named constructors retuning optional objects are tolerable though.
jupp0r
11 months ago
[–]
Two phase construction isn't widely disliked, it's completely fine if it's used as an implementation detail of a factory.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: