FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::MessageLike Concept Reference

Every message: trivially copyable with the EventHeader first. More...

#include <fastmm/core/messages.hpp>

Concept definition

template<class M>
concept fastmm::MessageLike = std::is_trivially_copyable_v<M> &&
std::is_same_v<decltype(M::hdr), EventHeader> && alignof(M) <= 64
Every message: trivially copyable with the EventHeader first.
Definition messages.hpp:698

Detailed Description

Every message: trivially copyable with the EventHeader first.

Fixed-size messages are additionally a multiple of 64 bytes (BookDeltaMsg is variable-length: see size_for()).