X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FPacketParser.ih;h=c55be7ea95b14a68a7f001e1f3a18ddd988b8a88;hb=78a6e233083efa63a9cd0684a92abc64202a9ee7;hp=00df8a80270fda5969c1a0f9928d1f98114eeca1;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Packets/PacketParser.ih b/senf/Packets/PacketParser.ih index 00df8a8..c55be7e 100644 --- a/senf/Packets/PacketParser.ih +++ b/senf/Packets/PacketParser.ih @@ -27,7 +27,7 @@ #define IH_SENF_Packets_PacketParser_ 1 // Custom includes -#include "../Utils/mpl.hh" +#include ///////////////////////////////ih.p//////////////////////////////////////// @@ -38,12 +38,12 @@ namespace detail { # ifndef DOXYGEN - // Use SFINAE to check, if Parser has an integer-valued fixed_bytes member. If not, - // 'Parser_TakeNum' fails and the overload is removed from the overload - // set. + // Use SFINAE to check, if Parser has an integer-valued init_bytes member. If not, + // 'Parser_TakeNum' fails and the overload is removed from the overload + // set. template PacketParserBase::size_type packetParserSize( - Parser p, int, senf::mpl::take_uint * = 0); + Parser p, int, senf::mpl::take_uint * = 0); // An ellipsis is always the worst match. A call 'packetParserSize(p,0) will prefer above // overload if that is not disabled by SFINAE. @@ -61,7 +61,7 @@ namespace detail { // This version of ParserInitBytes_Choose uses 'Parser::init_bytes' to provide 'value' (via // 'boost::integral_constant') template - struct ParserInitBytes_Choose + struct ParserInitBytes_Choose : public boost::integral_constant {}; // ^^-- g++ error signaled here: // error: 'fixed_bytes' is not a member of 'some-class-name'