Peano
Loading...
Searching...
No Matches
type.h File Reference
#include <cstdint>
#include <optional>
Include dependency graph for type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Any
 
struct  ptr< T >
 
struct  ND< dims >
 

Concepts

concept  Dimensionality
 
concept  Precision
 
concept  NotVoid
 
concept  Optional
 
concept  OptionalValue
 

Macros

#define STRCAT_INNER(a, b)   a##b
 
#define STRCAT(a, b)   STRCAT_INNER(a, b)
 

Typedefs

using i8 = std::int8_t
 
using u8 = std::uint8_t
 
using i16 = std::int16_t
 
using u16 = std::uint16_t
 
using i32 = std::int32_t
 
using u32 = std::uint32_t
 
using i64 = std::int64_t
 
using u64 = std::uint64_t
 
using f32 = float
 
using f64 = double
 
using void_ptr = ptr<void>::value
 
using _1D = ND<1>
 
using _2D = ND<2>
 
using _3D = ND<3>
 

Macro Definition Documentation

◆ STRCAT

#define STRCAT ( a,
b )   STRCAT_INNER(a, b)

Definition at line 35 of file type.h.

◆ STRCAT_INNER

#define STRCAT_INNER ( a,
b )   a##b

Definition at line 34 of file type.h.

Typedef Documentation

◆ _1D

using _1D = ND<1>

Definition at line 47 of file type.h.

◆ _2D

using _2D = ND<2>

Definition at line 50 of file type.h.

◆ _3D

using _3D = ND<3>

Definition at line 53 of file type.h.

◆ f32

using f32 = float

Definition at line 15 of file type.h.

◆ f64

using f64 = double

Definition at line 16 of file type.h.

◆ i16

using i16 = std::int16_t

Definition at line 8 of file type.h.

◆ i32

using i32 = std::int32_t

Definition at line 10 of file type.h.

◆ i64

using i64 = std::int64_t

Definition at line 12 of file type.h.

◆ i8

using i8 = std::int8_t

Definition at line 6 of file type.h.

◆ u16

using u16 = std::uint16_t

Definition at line 9 of file type.h.

◆ u32

using u32 = std::uint32_t

Definition at line 11 of file type.h.

◆ u64

using u64 = std::uint64_t

Definition at line 13 of file type.h.

◆ u8

using u8 = std::uint8_t

Definition at line 7 of file type.h.

◆ void_ptr

using void_ptr = ptr<void>::value

Definition at line 31 of file type.h.