What is the reason for why is_lock_free
requires an instance (it's a member function)? Why not a metafunction of the type, or a static constexpr
member function?
I am looking for an actual instance of why it is necessary.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…