diff --git a/Packets/Packet.cci b/Packets/Packet.cci index 99d2cc09480736997f1e5f39e280e8a834e4727b..001f69c4db60bb67c5765f85323ffb44e657588d 100644 --- a/Packets/Packet.cci +++ b/Packets/Packet.cci @@ -177,6 +177,12 @@ prefix_ bool senf::Packet::boolean_test() return packet_ && packet_->valid(); } +prefix_ bool senf::Packet::valid() + const +{ + return *this; +} + template <class PacketType, class Parser> prefix_ Parser senf::operator<<(Parser target, ConcretePacket<PacketType> const & packet) {