title: Why is volatile deprecated in C++20?
body: <p>According to <a href="https://en.cppreference.com/w/cpp/compiler_support" rel="noreferrer">cppreference</a>, most uses of the <code>volatile</code> keyword are to be deprecated in C++20. What is the disadvantage of <code>volatile</code>? And what is the alternative solution when not using <code>volatile</code>?</p>