Krita Source Code Documentation
Loading...
Searching...
No Matches
std::hash< KisSharedPtr< T > > Struct Template Reference

#include <kis_types.h>

Public Member Functions

size_t operator() (const KisSharedPtr< T > &ptr) const
 

Detailed Description

template<class T>
struct std::hash< KisSharedPtr< T > >

Definition at line 35 of file kis_types.h.

Member Function Documentation

◆ operator()()

template<class T >
size_t std::hash< KisSharedPtr< T > >::operator() ( const KisSharedPtr< T > & ptr) const
inline

Definition at line 37 of file kis_types.h.

37 {
38 return hash<const T*>()(ptr.data());
39 }

References KisSharedPtr< T >::data().


The documentation for this struct was generated from the following file: