Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on MutexProtected: A C++ Pattern for Easier Concurrency. Parent comment
Clang will inline everything - https://godbolt.org/z/v19P1W9sj
MSVC will not, even with O2 - https://godbolt.org/z/naovTxncs
> Might be worth looking at the resulting assembly first if you are looking to adapt this in your codebase.
There are no comments on this comment yet.
Clang will inline everything - https://godbolt.org/z/v19P1W9sj
MSVC will not, even with O2 - https://godbolt.org/z/naovTxncs
> Might be worth looking at the resulting assembly first if you are looking to adapt this in your codebase.