Hacker News new | ask | show | jobs
by kazinator 339 days ago
Does that guarantee that the static object is constructed before the first execution of the block?
1 comments

Yes, it will be constructed at compile time. Not everything can be constinit.