Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::CacheKey< Callable, ParamsTuple > Struct Template Reference

Determines the cache key type for a given callable and parameter tuple. More...

Detailed Description

template<typename Callable, typename ParamsTuple>
struct Raven::CacheKey< Callable, ParamsTuple >

Determines the cache key type for a given callable and parameter tuple.

For function pointers, the pointer itself is prepended to the argument tuple so that distinct function pointers with the same arguments produce distinct keys. Stateless callables (e.g. local lambdas) use the argument tuple alone.

Template Parameters
CallableThe callable type.
ParamsTupleA std::tuple of the callable's parameter types.

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