X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketParser.cti;h=fb53bb112d4cb5cc9b66fe4275fc23e44f19c871;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=abbc3d7dbbad9ed6ea94db1aa8ba6512d61ab543;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Packets/PacketParser.cti b/senf/Packets/PacketParser.cti index abbc3d7..fb53bb1 100644 --- a/senf/Packets/PacketParser.cti +++ b/senf/Packets/PacketParser.cti @@ -74,8 +74,8 @@ prefix_ senf::PacketParserBase::size_type senf::bytes(Parser p) #ifndef DOXYGEN template -prefix_ typename boost::enable_if_c < - boost::is_base_of::value +prefix_ typename boost::enable_if_c < + boost::is_base_of::value && ! boost::is_base_of::value, Parser >::type senf::operator<<(Parser target, Value const & value) { @@ -90,8 +90,8 @@ prefix_ Parser senf::operator<<(Parser target, Value const & value) #ifndef DOXYGEN template -prefix_ typename boost::enable_if_c < - boost::is_base_of::value +prefix_ typename boost::enable_if_c < + boost::is_base_of::value && ! boost::is_base_of::value, Parser >::type senf::operator<<(Parser target, boost::optional const & value) {