https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89417
Federico Kircheis <federico.kircheis at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|8.2.0 |10.1.0 --- Comment #1 from Federico Kircheis <federico.kircheis at gmail dot com> --- I've tested with g++10 (g++-10 (Debian 10.1.0-4) 10.1.0), and the situation is unchanged. Does anything speak against adding the proposed "make_lock" logic inside std::lock_guard? Are there any drawbacks?