X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.cti;h=604f45650b53428f8c65b12d6494f8711d02694f;hb=1ad3873b372da6187b1fbc645bf276287d2efb54;hp=56c14729488a4fd2e1a62d2add7cb428dbef27cf;hpb=85ab07d100a382467a42e19d741d403a7a96c951;p=senf.git diff --git a/Socket/SocketHandle.cti b/Socket/SocketHandle.cti index 56c1472..604f456 100644 --- a/Socket/SocketHandle.cti +++ b/Socket/SocketHandle.cti @@ -29,12 +29,16 @@ // Custom includes #include #include -#include "Utils/TypeInfo.hh" +#include "../Utils/TypeInfo.hh" #define prefix_ inline ///////////////////////////////cti.p/////////////////////////////////////// template +prefix_ senf::SocketHandle::SocketHandle() +{} + +template template prefix_ senf::SocketHandle::SocketHandle(SocketHandle other, typename IsCompatible::type *) @@ -165,7 +169,7 @@ prefix_ void senf::SocketHandle::state(SocketStateMap & map, unsig // automatically include the SocketPolicy template parameter in // the type name and therefore show the \e static policy of the // socket handle. - map["handle"] = prettyName(typeid(*this)); + map["handle"] << prettyName(typeid(*this)); body().state(map,lod); } @@ -177,14 +181,6 @@ prefix_ std::string senf::SocketHandle::dumpState(unsigned lod) return detail::dumpState(map); } -/////////////////////////////////////////////////////////////////////////// -// senf::detail::ConvertibleString - -template -prefix_ senf::detail::ConvertibleString::ConvertibleString(T const & other) - : std::string(boost::lexical_cast(other)) -{} - ///////////////////////////////cti.e/////////////////////////////////////// #undef prefix_ @@ -195,4 +191,6 @@ prefix_ senf::detail::ConvertibleString::ConvertibleString(T const & other) // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: