std::hash< cl::sycl::context > Struct Template Reference
provides a specialization for std::hash for the context class. More...
#include <context.h>
Public Member Functions | |
size_t | operator() (const cl::sycl::context &object) const |
enables calling an std::hash object as a function with the object to be hashed as a parameter More... | |
Detailed Description
template<>
struct std::hash< cl::sycl::context >
provides a specialization for std::hash for the context class.
An std::hash<std::shared_ptr<...>> object is created and its function call operator is used to hash the contents of the shared_ptr. The returned hash is actually the result of (size_t) object.get_impl().get()
Member Function Documentation
◆ operator()()
|
inline |
The documentation for this struct was generated from the following file: