// Custom includes
#include "ListParser.ih"
-///////////////////////////////ih.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
namespace detail {
/** \brief Internal: ListPolicy defing the ListBParser parser
\internal
- \see \ref ListBParser
+ \see \ref ListParser
*/
template <class ElementParser, class AuxPolicy>
struct ListBParser_Policy
/** \brief Internal: ListBParser container/wrapper policy */
struct container_policy
- : public AuxPolicy
+ : public AuxPolicy::WrapperPolicy
{
typedef PacketParserBase::data_iterator data_iterator;
typedef PacketParserBase::state_type state_type;
size_type size (data_iterator i, state_type s) const;
void init (data_iterator i, state_type s);
- void erase (container_type & c, data_iterator p);
- void insert (container_type & c, data_iterator p);
- void update (container_type const & c) const;
+ void construct (container_type & c) const;
+ void destruct (container_type & c) const;
+ void erase (container_type & c, data_iterator p);
+ void insert (container_type & c, data_iterator p);
+ void update (container_type const & c) const;
/** \brief Internal: ListBParser specific iterator data */
struct iterator_data {};
};
template <class ElementParser, class AuxPolicy, class Transform>
- struct ListParserPolicy<ElementParser, AuxPolicy,
- senf::detail::auxtag::transform<Transform,
+ struct ListParserPolicy<ElementParser, AuxPolicy,
+ senf::detail::auxtag::transform<Transform,
senf::detail::auxtag::bytes> >
{
typedef ListBParser_Policy< ElementParser,
}}
-///////////////////////////////ih.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#endif
\f