rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
c4::fmt::raw_wrapper_< T > Struct Template Reference

#include <format.hpp>

Public Member Functions

 raw_wrapper_ (blob_< T > data, size_t alignment_) noexcept

Public Attributes

size_t alignment

Detailed Description

template<class T>
struct c4::fmt::raw_wrapper_< T >
See also
blob_

Definition at line 394 of file format.hpp.

Constructor & Destructor Documentation

◆ raw_wrapper_()

template<class T>
c4::fmt::raw_wrapper_< T >::raw_wrapper_ ( blob_< T > data,
size_t alignment_ )
inlinenoexcept

Definition at line 398 of file format.hpp.

399 :
400 blob_<T>(data),
402 {
403 C4_ASSERT_MSG(alignment > 0 && (alignment & (alignment - 1)) == 0, "alignment must be a power of two");
404 }

Member Data Documentation

◆ alignment

template<class T>
size_t c4::fmt::raw_wrapper_< T >::alignment

Definition at line 396 of file format.hpp.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.14.0/ext/c4core/src/c4/format.hpp