OpenTTD Source 20241224-master-gee860a5c8e
ArrayT< T[N]> Struct Template Reference

Helper template class that provides C array length and item type. More...

#include <dbg_helpers.h>

Public Types

using Item = T
 

Static Public Attributes

static const size_t length = N
 

Detailed Description

template<typename T, size_t N>
struct ArrayT< T[N]>

Helper template class that provides C array length and item type.

Definition at line 24 of file dbg_helpers.h.

Member Typedef Documentation

◆ Item

template<typename T , size_t N>
using ArrayT< T[N]>::Item = T

Definition at line 26 of file dbg_helpers.h.

Field Documentation

◆ length

template<typename T , size_t N>
const size_t ArrayT< T[N]>::length = N
static

Definition at line 25 of file dbg_helpers.h.


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