X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2Fmain.test.hh;h=0cf67a53b3281104e41a958cfb51104774843a0d;hb=57daeae6f2e924ce3f16f9677c3474f531cba9e5;hp=df95156dc31df5d7702a75799de3057f869b1ff4;hpb=57524bfa72e4536b15700a83eae94093ed32106a;p=senf.git diff --git a/senf/Packets/main.test.hh b/senf/Packets/main.test.hh index df95156..0cf67a5 100644 --- a/senf/Packets/main.test.hh +++ b/senf/Packets/main.test.hh @@ -29,7 +29,7 @@ // Custom includes //#include "main.test.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { namespace detail { @@ -47,13 +47,18 @@ namespace test { PacketInterpreterBase::Prepend_t) { return PacketInterpreter::create(impl,b,e,PacketInterpreterBase::Prepend); } + template + static typename PacketInterpreter::ptr create(PacketImpl * impl, iterator b, iterator e, + PacketInterpreterBase::ptr before) + { return PacketInterpreter::create(impl,b,e,before); } + static PacketImpl * impl(PacketInterpreterBase::ptr p) { return &p->impl(); } }; }}}} -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "main.test.cci" //#include "main.test.ct" //#include "main.test.cti"