列中元素的逻辑数据类型指示器。 更多...
#include <types.hpp>
公有成员函数 | |
data_type (data_type const &)=default | |
复制构造函数。 | |
data_type (data_type &&)=default | |
移动构造函数。 | |
data_type & | operator= (data_type const &)=default |
data_type 的复制赋值运算符。更多... | |
data_type & | operator= (data_type &&)=default |
data_type 的移动赋值运算符。更多... | |
constexpr CUDF_HOST_DEVICE | data_type (type_id id) |
构造新的 data_type 对象。更多... | |
data_type (type_id id, int32_t scale) | |
为 numeric::fixed_point 构造新的 data_type 对象更多... | |
constexpr CUDF_HOST_DEVICE type_id | id () const noexcept |
返回类型标识符。更多... | |
constexpr CUDF_HOST_DEVICE int32_t | scale () const noexcept |
返回 scale(用于 fixed_point 类型)更多... | |
|
inlineexplicitconstexpr |
|
inlineexplicit |
为 numeric::fixed_point
构造新的 data_type
对象
id | fixed_point 的标识符 |
scale | fixed_point 的 scale (参见 fixed_point::_scale ) |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |