Packets: extended description of bad_cast exception in Packet.as()
[senf.git] / senf / Socket / SocketHandle.cti
index 63db515..fd7e290 100644 (file)
@@ -32,9 +32,9 @@
 #include <senf/Utils/TypeInfo.hh>
 
 #define prefix_ inline
-///////////////////////////////cti.p///////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // senf::SocketHandle<SPolicy>
 
 template <class SPolicy>
@@ -67,7 +67,7 @@ template <class SPolicy>
 prefix_ senf::SocketHandle<SPolicy>::SocketHandle(FileHandle other, bool isChecked)
     : FileHandle(other)
 {
-    SENF_ASSERT( isChecked, "Inrernal failure: Wrong overload called !!" );
+    SENF_ASSERT( isChecked, "Internal failure: Wrong overload called !!" );
     SENF_ASSERT( ! valid() || dynamic_cast<SocketBody *>(&FileHandle::body()),
                  "Internal failure: Replacing or re-assigning non-empty incompatible handle");
 }
@@ -205,7 +205,7 @@ prefix_ Facet & senf::SocketHandle<SPolicy>::facet()
     SENF_WRAP_EXC(std::bad_cast)
 }
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 // senf::ProtocolSocketBody<SProtocol>
 
 template <class SProtocol>
@@ -218,7 +218,7 @@ prefix_ senf::ProtocolSocketBody<SProtocol>::ProtocolSocketBody(bool isServer, i
     : SocketBody(isServer, fd)
 {}
 
-///////////////////////////////////////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 template <class SPolicy>
 prefix_ std::ostream & senf::operator<<(std::ostream & os, SocketHandle<SPolicy> handle)
@@ -227,7 +227,7 @@ prefix_ std::ostream & senf::operator<<(std::ostream & os, SocketHandle<SPolicy>
     return os;
 }
 
-///////////////////////////////cti.e///////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 #undef prefix_
 
 \f