senf::init_bytes< Parser > Struct Template Reference

Return number of bytes to allocate to new object of given type. More...

#include <senf/Packets/PacketParser.hh>

Inheritance diagram for senf::init_bytes< Parser >:

Detailed Description

template<class Parser>
struct senf::init_bytes< Parser >

Return number of bytes to allocate to new object of given type.

This meta-function is called like

    This expression evaluates to a compile-time constant integral expression of type
    senf::PacketParserBase::size_type. This meta-function will return \c Parser::fixed_bytes or
    \c Parser::init_bytes depending on the type of parser.

    \param[in] Parser The Parser to return init_bytes for
    \returns Number of bytes to allocate to the new object

Definition at line 415 of file PacketParser.hh.


The documentation for this struct was generated from the following file: