Hacker News new | ask | show | jobs
by calamari4065 904 days ago
Is `int B = A` even legal? Aren't field initializers like that supposed to be compile time constant?
1 comments

It's allowed since C++11.