Quick Links:

bal | bbl | bdl | bsl

Classes

bslalg::TypeTraitBitwiseEqualityComparable Struct Reference

#include <bslalg_typetraitbitwiseequalitycomparable.h>

Classes

struct  Metafunction
struct  NestedTraitDeclaration

Detailed Description

Objects of a type with this trait can be compared for equality using memcmp. If two objects compare equal, then memcmp returns 0, otherwise it returns non-zero. Classes with this traits are assumed to have no padding and to be bit-wise copyable (see the TypeTraitBitwiseCopyable trait). Undefined behavior may result if this trait is assigned to a type that does not have an operator== or whose operator== implementation may return different from comparing the footprints with memcmp .

See Component bslalg_typetraitbitwiseequalitycomparable


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