Utils: Implement Tags.hh and move 'senf::noinit' and 'senf::nothrow' there
[senf.git] / Packets / Mainpage.dox
index 18a835d..56f68c5 100644 (file)
     eth.find<UDPPacket>() == udp;       // true
 
     udp.find<EthernetPacket>();         // throws InvalidPacketChainException
-    udp.find<EthernetPacket>(senf::nothrow); // An in-valid senf::Packet which tests as 'false'
+    udp.find<EthernetPacket>(senf::nothrow); // An in-valid() senf::Packet which tests as 'false'
     udp.find<UDPPacket()> == udp;       // true
     udp.first<IPv4Packet>();            // throws InvalidPacketChainException
 
     
     \code
     senf::PacketSocketHandle sock ("eth0");
-    senf::EthernetPacket packet (senf::EthernetPacket::create(senf::Packet::noinit));
+    senf::EthernetPacket packet (senf::EthernetPacket::create(senf::noinit));
     sock.read(packet.data(),0u);
     \endcode