cpp/thread/condition variable any

The class is a generalization of std. Whereas std works only on, can operate on any lock that meets the  requirements.

See std for the description of the semantics of condition variables.

The class is a. It is not, , , or.

If the lock is std, std may provide better performance.