X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FPacketImpl.hh;h=32ae5a17a0b79eda12fde332d4fe72c231f22bed;hb=92f8630b75f3ef50e73c48cde58645dcd1534e27;hp=de52e40bb58b56b5d74a2fb1db910f2b9b22771a;hpb=2ffca72ed06b10829071cd1b28d9047ff735f929;p=senf.git diff --git a/Packets/PacketImpl.hh b/Packets/PacketImpl.hh index de52e40..32ae5a1 100644 --- a/Packets/PacketImpl.hh +++ b/Packets/PacketImpl.hh @@ -97,6 +97,7 @@ namespace detail { static bool const Complex = boost::is_base_of::value; static bool const Small = (sizeof(Annotation) <= sizeof(AnnotationEntry) && ! Complex); +# if 0 // The test is difficult since it does not work with user-defined trivial constructors # ifdef BOOST_HAS_TYPE_TRAITS_INTRINSICS BOOST_STATIC_ASSERT(( (boost::has_trivial_constructor::value @@ -104,6 +105,7 @@ namespace detail { || Complex )); # endif +# endif }; template ::Small>