PowerPC doesn't require strict alignment; therefore we can tolerate types with a default alignment which does not evenly divide any alignment of a POD type we can think of.

[SVN r18553]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2003-05-26 21:15:04 +00:00
parent 54405cf729
commit b34dbf1312

View File

@ -110,8 +110,10 @@ class type_with_alignment
BOOST_STATIC_CONSTANT(std::size_t, found = alignment_of<align_t>::value);
#if !(defined(__APPLE__) && defined(__MACH__) && defined(__GNUC__))
BOOST_STATIC_ASSERT(found >= Align);
BOOST_STATIC_ASSERT(found % Align == 0);
#endif
public:
typedef align_t type;