Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TLiteral< T > Struct Template Reference

#include <Char.h>

Static Public Member Functions

static const ANSICHAR Select (const ANSICHAR ansi, const WIDECHAR)
 
static const ANSICHARSelect (const ANSICHAR *ansi, const WIDECHAR *)
 

Detailed Description

template<typename T>
struct TLiteral< T >

Templated literal struct to allow selection of wide or ansi string literals based on the character type provided, and not on compiler switches.

Definition at line 18 of file Char.h.

Member Function Documentation

◆ Select() [1/2]

template<typename T >
static const ANSICHAR * TLiteral< T >::Select ( const ANSICHAR * ansi,
const WIDECHAR *  )
inlinestatic

Definition at line 21 of file Char.h.

◆ Select() [2/2]

template<typename T >
static const ANSICHAR TLiteral< T >::Select ( const ANSICHAR ansi,
const WIDECHAR  )
inlinestatic

Definition at line 20 of file Char.h.


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