Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
chainbase::get_key< KeyExtractor, T > Struct Template Reference

#include <undo_index.hpp>

Public Types

using type = std::decay_t<decltype(KeyExtractor{}(std::declval<const T&>()))>
 

Public Member Functions

decltype(auto) operator() (const T &arg) const
 

Detailed Description

template<typename KeyExtractor, typename T>
struct chainbase::get_key< KeyExtractor, T >

Definition at line 38 of file undo_index.hpp.

Member Typedef Documentation

◆ type

template<typename KeyExtractor , typename T >
using chainbase::get_key< KeyExtractor, T >::type = std::decay_t<decltype(KeyExtractor{}(std::declval<const T&>()))>

Definition at line 39 of file undo_index.hpp.

Member Function Documentation

◆ operator()()

template<typename KeyExtractor , typename T >
decltype(auto) chainbase::get_key< KeyExtractor, T >::operator() ( const T & arg) const
inline

Definition at line 40 of file undo_index.hpp.

40{ return KeyExtractor{}(arg); }

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