// Custom includes
#include <senf/Utils/mpl.hh>
-///////////////////////////////ih.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
namespace detail {
# ifndef DOXYGEN
- // Use SFINAE to check, if Parser has an integer-valued fixed_bytes member. If not,
- // 'Parser_TakeNum<Parser::fixed_bytes>' fails and the overload is removed from the overload
+ // Use SFINAE to check, if Parser has an integer-valued init_bytes member. If not,
+ // 'Parser_TakeNum<Parser::init_bytes>' fails and the overload is removed from the overload
// set.
template <class Parser>
PacketParserBase::size_type packetParserSize(
- Parser p, int, senf::mpl::take_uint<Parser::fixed_bytes> * = 0);
+ Parser p, int, senf::mpl::take_uint<Parser::init_bytes> * = 0);
// An ellipsis is always the worst match. A call 'packetParserSize(p,0) will prefer above
// overload if that is not disabled by SFINAE.
// Either 'some-class-name' is not the class you wanted to use (it really is no parser) or you
// left out either 'init_bytes' or 'fixed_bytes' when defining the parser. This will also
// happen, if you forget to call 'SENF_PARSER_FINALIZE()' when defining a composite parser.
- ///////////////////////////////////////////////////////////////////////////////////////////////
+ //-/////////////////////////////////////////////////////////////////////////////////////////////
// If Parser::init_bytes is not defined, this specialization is chosen which instead uses
// 'Parser::fixed_bytes'
}}
-///////////////////////////////ih.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#endif
\f