libSDL2pp
C++ bindings/wrapper for SDL2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
std::hash< SDL2pp::Color > Struct Reference

std::hash specialization for SDL2pp::Color More...

#include <Color.hh>

Public Member Functions

size_t operator() (const SDL2pp::Color &c) const
 Hash function for SDL2pp::Color.
 

Detailed Description

std::hash specialization for SDL2pp::Color

Member Function Documentation

◆ operator()()

size_t std::hash< SDL2pp::Color >::operator() ( const SDL2pp::Color c) const
inline

Hash function for SDL2pp::Color.

Parameters
[in]cInput Color
Returns
Hash value

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