X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.cti;fp=Socket%2FSocketHandle.cti;h=b04f1f8133f9bf7e2ca6555cc5f342f6b5bba9e1;hb=69e4a07eea4a95a83d226d7b7095b7d310dc4a06;hp=cbd90890245f3583f10b1a3d9c0f817cc914eefb;hpb=0734de7b0f8616d5f2454289d1c686ba1d2c625b;p=senf.git diff --git a/Socket/SocketHandle.cti b/Socket/SocketHandle.cti index cbd9089..b04f1f8 100644 --- a/Socket/SocketHandle.cti +++ b/Socket/SocketHandle.cti @@ -133,11 +133,11 @@ prefix_ Target senf::static_socket_cast(Source handle) template prefix_ Target senf::dynamic_socket_cast(Source handle) { - BOOST_STATIC_ASSERT(( - boost::is_convertible::value && - boost::is_convertible::value && - ( boost::is_convertible::value || - boost::is_convertible::value ) )); +// BOOST_STATIC_ASSERT(( +// boost::is_convertible::value && +// boost::is_convertible::value && +// ( boost::is_convertible::value || +// boost::is_convertible::value ) )); try { return Target::cast_dynamic(handle); } @@ -147,11 +147,11 @@ prefix_ Target senf::dynamic_socket_cast(Source handle) template prefix_ bool senf::check_socket_cast(Source handle) { - BOOST_STATIC_ASSERT(( - boost::is_convertible::value && - boost::is_convertible::value && - ( boost::is_convertible::value || - boost::is_convertible::value ) )); +// BOOST_STATIC_ASSERT(( +// boost::is_convertible::value && +// boost::is_convertible::value && +// ( boost::is_convertible::value || +// boost::is_convertible::value ) )); // we don't have a non-throwing variant of cast_dynamic // for two reasons: // a) since the handle is passed back by value, we cannot return