VCTR
Loading...
Searching...
No Matches
vctr::StorageInfoWithMemberAlignment< alignment, WrappedInfo > Struct Template Reference

A storage info type especially used for vctr::Span. More...

Inheritance diagram for vctr::StorageInfoWithMemberAlignment< alignment, WrappedInfo >:

Public Member Functions

 StorageInfoWithMemberAlignment (const WrappedInfo &i)
 

Static Public Attributes

static constexpr size_t memberAlignment = alignment
 

Detailed Description

template<size_t alignment, class WrappedInfo>
struct vctr::StorageInfoWithMemberAlignment< alignment, WrappedInfo >

A storage info type especially used for vctr::Span.

A vctr::Span is a vctr::VctrBase wrapping a std::span. Therefore we should not take the class member alignment of the viewed container as the alignment for the std::span but should reflect all other storage information of the original source.


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