8#ifndef INCLUDED_BSLS_ALIGNMENT
9#define INCLUDED_BSLS_ALIGNMENT
201#ifndef BDE_OMIT_INTERNAL_DEPRECATED
203#ifndef BDE_DONT_ALLOW_TRANSITIVE_INCLUDES
215#ifndef bsls_AlignmentOf
216#define bsls_AlignmentOf bsls::AlignmentFromType
253#ifndef BDE_OMIT_INTERNAL_DEPRECATED
290#ifndef BDE_OMIT_INTERNAL_DEPRECATED
344#ifndef BDE_OMIT_INTERNAL_DEPRECATED
392#ifndef BDE_OPENSOURCE_PUBLICATION
bsls::Alignment bsls_Alignment
This alias is defined for backward compatibility.
Definition bsls_alignment.h:398
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlt_iso8601util.h:691
static bool is2ByteAligned(const void *address)
Definition bsls_alignmentutil.h:434
static bool is4ByteAligned(const void *address)
Definition bsls_alignmentutil.h:440
AlignmentToType< BSLS_MAX_ALIGNMENT >::Type MaxAlignedType
Definition bsls_alignmentutil.h:282
static int calculateAlignmentOffset(const void *address, int alignment)
Definition bsls_alignmentutil.h:408
@ BSLS_MAX_ALIGNMENT
Definition bsls_alignmentutil.h:275
static bool is8ByteAligned(const void *address)
Definition bsls_alignmentutil.h:446
static int calculateAlignmentFromSize(std::size_t size)
Definition bsls_alignmentutil.h:344
Definition bsls_alignment.h:270
MaxAlignedType d_align
Definition bsls_alignment.h:271
Definition bsls_alignment.h:234
static const char * toAscii(Alignment::Strategy value)
static int calculateAlignmentOffset(const void *address, int alignment)
Definition bsls_alignment.h:364
static bool is2ByteAligned(const void *address)
Definition bsls_alignment.h:371
static int calculateAlignmentFromSize(int size)
Definition bsls_alignment.h:358
@ MAX_ALIGNMENT
Definition bsls_alignment.h:259
static bool is8ByteAligned(const void *address)
Definition bsls_alignment.h:383
AlignmentUtil::MaxAlignedType MaxAlignedType
Definition bsls_alignment.h:265
static bool is4ByteAligned(const void *address)
Definition bsls_alignment.h:377
Strategy
Types of alignment strategy.
Definition bsls_alignment.h:239
@ BSLS_NATURAL
Definition bsls_alignment.h:246
@ BSLS_MAXIMUM
Definition bsls_alignment.h:242
@ BSLS_BYTEALIGNED
Definition bsls_alignment.h:250