OpenTTD Source 15.0-RC2
CommandFunctionTraitHelper< CommandCost(*)(DoCommandFlags, Targs...)> Struct Template Reference

Public Types

using Args = std::tuple< std::decay_t< Targs >... >
 
using RetTypes = void
 
using CbArgs = Args
 
using CbProcType = void(*)(Commands, const CommandCost &)
 

Detailed Description

template<typename... Targs>
struct CommandFunctionTraitHelper< CommandCost(*)(DoCommandFlags, Targs...)>

Definition at line 449 of file command_type.h.

Member Typedef Documentation

◆ Args

template<typename... Targs>
using CommandFunctionTraitHelper< CommandCost(*)(DoCommandFlags, Targs...)>::Args = std::tuple<std::decay_t<Targs>...>

Definition at line 450 of file command_type.h.

◆ CbArgs

template<typename... Targs>
using CommandFunctionTraitHelper< CommandCost(*)(DoCommandFlags, Targs...)>::CbArgs = Args

Definition at line 452 of file command_type.h.

◆ CbProcType

template<typename... Targs>
using CommandFunctionTraitHelper< CommandCost(*)(DoCommandFlags, Targs...)>::CbProcType = void(*)(Commands, const CommandCost &)

Definition at line 453 of file command_type.h.

◆ RetTypes

template<typename... Targs>
using CommandFunctionTraitHelper< CommandCost(*)(DoCommandFlags, Targs...)>::RetTypes = void

Definition at line 451 of file command_type.h.


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