CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::CLockedObject Concept Reference

A concept that checks if the type T is a LockedObject. More...

#include <CeresEngine/Foundation/Threading/Threading.hpp>

Concept definition

template<typename T>
concept CeresEngine::CLockedObject = requires(T object) {
std::is_same_v<std::remove_cv_t<T>, LockedObject<typename T::ValueType, typename T::MutexType>>;
}
A concept that checks if the type T is a LockedObject.
Definition Threading.hpp:507
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25

Detailed Description

A concept that checks if the type T is a LockedObject.

Template Parameters
TThe type to be checked.