header_utils
Loading...
Searching...
No Matches
Named-Type Pattern

Defines a 'strong typedef' template which is used extensively to create strongly-typed wrappers around other types. More...

Topics

 Traits
 Contains traits for the named template.

Classes

struct  ghassanpl::named< T, PARAMETER, TRAITS >
 Used to create a strong typedef of T. More...

Macros

#define ghassanpl_named_string_literal(named_name, suffix)
 Creates a user-defined string literal which will result in a given named type.
#define ghassanpl_named_integer_literal(named_name, suffix)
 Creates a user-defined integer literal which will result in a given named type.
#define ghassanpl_named_float_literal(named_name, suffix)
 Creates a user-defined floating-point literal which will result in a given named type.

Detailed Description

Defines a 'strong typedef' template which is used extensively to create strongly-typed wrappers around other types.

Macro Definition Documentation

◆ ghassanpl_named_float_literal

#define ghassanpl_named_float_literal ( named_name,
suffix )

Creates a user-defined floating-point literal which will result in a given named type.

Definition at line 408 of file named.h.

◆ ghassanpl_named_integer_literal

#define ghassanpl_named_integer_literal ( named_name,
suffix )

Creates a user-defined integer literal which will result in a given named type.

Definition at line 402 of file named.h.

◆ ghassanpl_named_string_literal

#define ghassanpl_named_string_literal ( named_name,
suffix )

Creates a user-defined string literal which will result in a given named type.

Definition at line 396 of file named.h.