// senf::Packet
template <class OtherPacket>
-prefix_ OtherPacket senf::Packet::findNext(NoThrow_t)
+prefix_ OtherPacket senf::Packet::find(NoThrow_t)
const
{
Packet p (*this);
while (p && ! p.is<OtherPacket>())
- p = p.next();
+ p = p.next(nothrow);
if (p)
return p.as<OtherPacket>();
else
}
template <class OtherPacket>
-prefix_ OtherPacket senf::Packet::findPrev(NoThrow_t)
+prefix_ OtherPacket senf::Packet::rfind(NoThrow_t)
const
{
Packet p (*this);
while (p && ! p.is<OtherPacket>())
- p = p.prev();
+ p = p.prev(nothrow);
if (p)
return p.as<OtherPacket>();
else