libpressio 0.93.0
Loading...
Searching...
No Matches
Classes | Functions
dtype.h File Reference

C++ interface to data types. More...

#include <pressio_dtype.h>
#include <std_compat/type_traits.h>
#include <cstdint>
#include <stdint.h>
Include dependency graph for dtype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  impl::is_one_of< T, Ts >
 

Functions

constexpr pressio_dtype pressio_size_type ()
 
template<class T >
constexpr pressio_dtype pressio_dtype_from_type ()
 

Detailed Description

C++ interface to data types.

Function Documentation

◆ pressio_dtype_from_type()

template<class T >
constexpr pressio_dtype pressio_dtype_from_type ( )
constexpr

Convert types to pressio_dtypes

Template Parameters
Tthe type to identify
Returns
which pressio_dtype corresponds to the type T.

◆ pressio_size_type()

constexpr pressio_dtype pressio_size_type ( )
constexpr
Returns
the size of a size_t dtype