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

Public Types

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

Detailed Description

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

Definition at line 456 of file command_type.h.

Member Typedef Documentation

◆ Args

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

Definition at line 457 of file command_type.h.

◆ CbArgs

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

Definition at line 459 of file command_type.h.

◆ CbProcType

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

Definition at line 460 of file command_type.h.

◆ RetTypes

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

Definition at line 458 of file command_type.h.


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