HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes
hi::v1::detail::datum_promotion_result< To > Class Template Reference

#include <hikogui/codec/datum.hpp>

Public Types

using value_type = To
 

Public Member Functions

constexpr void clear () noexcept
 
constexpr void clear () noexcept
 
 datum_promotion_result (datum_promotion_result const &)=delete
 
datum_promotion_resultoperator= (datum_promotion_result const &)=delete
 
constexpr datum_promotion_result (datum_promotion_result &&other) noexcept
 
constexpr datum_promotion_resultoperator= (datum_promotion_result &&other) noexcept
 
constexpr operator bool () const noexcept
 
constexpr void set (value_type lhs, value_type rhs) noexcept
 
constexpr void set (value_type const &lhs, value_type const &rhs) noexcept
 
constexpr void set (value_type &&lhs, value_type const &rhs) noexcept
 
constexpr void set (value_type const &lhs, value_type &&rhs) noexcept
 
constexpr void set (value_type &&lhs, value_type &&rhs) noexcept
 
constexpr value_type const & lhs () const noexcept
 
constexpr value_type const & rhs () const noexcept
 
constexpr value_type lhs () const noexcept
 
constexpr value_type rhs () const noexcept
 

Static Public Attributes

static constexpr bool data_is_pointer = sizeof(value_type) > sizeof(void*)
 
static constexpr bool data_is_scalar = not data_is_pointer
 

Detailed Description

template<typename To>
class hi::v1::detail::datum_promotion_result< To >

Promotion result.

Template Parameters
ToThe type to promote the values to.

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