Iros
 
Loading...
Searching...
No Matches
di::BitStruct< byte_size, Tags > Class Template Reference

#include <di/bit/bitstruct/bit_struct.h>

Public Member Functions

 BitStruct ()=default
 
template<concepts::BitTag... FromTags>
requires (meta::Contains<List, FromTags> && ...)
constexpr BitStruct (FromTags... tags)
 
template<concepts::BitTag Tag>
constexpr void set (meta::BitValue< Tag > value)
 
template<concepts::BitTag Tag, typename R = meta::BitValue<Tag>>
constexpr auto get () const -> R
 

Constructor & Destructor Documentation

◆ BitStruct() [1/2]

template<size_t byte_size, concepts::BitTag... Tags>
di::bit::BitStruct< byte_size, Tags >::BitStruct ( )
default

◆ BitStruct() [2/2]

template<size_t byte_size, concepts::BitTag... Tags>
template<concepts::BitTag... FromTags>
requires (meta::Contains<List, FromTags> && ...)
di::bit::BitStruct< byte_size, Tags >::BitStruct ( FromTags... tags)
inlineexplicitconstexpr

Member Function Documentation

◆ get()

template<size_t byte_size, concepts::BitTag... Tags>
template<concepts::BitTag Tag, typename R = meta::BitValue<Tag>>
auto di::bit::BitStruct< byte_size, Tags >::get ( ) const -> R
inlineconstexpr

◆ set()

template<size_t byte_size, concepts::BitTag... Tags>
template<concepts::BitTag Tag>
void di::bit::BitStruct< byte_size, Tags >::set ( meta::BitValue< Tag > value)
inlineconstexpr

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