kblib 0.2.3
General utilities library for modern C++
kblib::union_pun< Type[N], Storage > Class Template Reference

#include <kblib/bits.h>

Public Member Functions

auto operator() () const noexcept -> const_proxy_t
 
auto operator() (const Type(&val)[N]) noexcept -> proxy_t
 
 operator type () const noexcept
 
auto operator= (const Type(&val)[N]) noexcept -> proxy_t
 

Detailed Description

template<typename Type, std::size_t N, auto Storage>
class kblib::union_pun< Type[N], Storage >

Definition at line 792 of file bits.h.

Member Function Documentation

◆ operator type()

template<typename Type , std::size_t N, auto Storage>
kblib::union_pun< Type[N], Storage >::operator type ( ) const
inlinenoexcept

Definition at line 823 of file bits.h.

◆ operator()() [1/2]

template<typename Type , std::size_t N, auto Storage>
auto kblib::union_pun< Type[N], Storage >::operator() ( ) const -> const_proxy_t
inlinenoexcept

Definition at line 816 of file bits.h.

◆ operator()() [2/2]

template<typename Type , std::size_t N, auto Storage>
auto kblib::union_pun< Type[N], Storage >::operator() ( const Type(&)  val[N]) -> proxy_t
inlinenoexcept

Definition at line 819 of file bits.h.

◆ operator=()

template<typename Type , std::size_t N, auto Storage>
auto kblib::union_pun< Type[N], Storage >::operator= ( const Type(&)  val[N]) -> proxy_t
inlinenoexcept

Definition at line 824 of file bits.h.


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