X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FSocketPolicy.hh;h=4494691e10f4bf780696cbdedc27095aa675fed4;hb=7ee689fe38d66aa3a0004d55e8708750d35adc0b;hp=256081a3846ca389b196f79adc3cfcf69463aa29;hpb=4d7356cbd92801bc0c4bec27fffe3b0024807185;p=senf.git diff --git a/senf/Socket/SocketPolicy.hh b/senf/Socket/SocketPolicy.hh index 256081a..4494691 100644 --- a/senf/Socket/SocketPolicy.hh +++ b/senf/Socket/SocketPolicy.hh @@ -162,7 +162,7 @@ metafunction which simplifies building SocketPolicy instantiations. It takes any number (ok, up to a maximum of 6) of policy classes as an argument (in any order). It will sort these arguments into the SocketPolicy template arguments. If for some axis no class is specified, it's slot will - be filled with \c Unspecified \e Axis. Additionally, the first Argument may optionally be ab + be filled with \c Unspecified \e Axis. Additionally, the first Argument may optionally be an arbitrary SocketPolicy. It will provide default values for unspecified axis
\c template \c SocketPolicyIsBaseOf < \e base, \e derived >
This template @@ -206,14 +206,14 @@ The \c connect member in this example will only be enabled, it the communication policy of the socket handle is ConnectedCommunicationPolicy (or a derived type). See Boost.Enable_If for a discussion of - the third argument (\c senf::ConnectedCommunicationPolicyIs is based on the \c boost::enable_if - template). + href="http://www.boost.org/doc/libs/release/libs/utility/enable_if.html">Boost.Enable_If + for a discussion of the third argument (\c senf::ConnectedCommunicationPolicyIs is based on + the \c boost::enable_if template). \see \ref extend_policy \n - The Boost enable_if utility \n - The Boost.MPL library \n - The Boost.Preprocessor library + The Boost enable_if utility \n + The Boost.MPL library \n + The Boost.Preprocessor library \idea We could combine all the \e Axis \c Is templates into a single template. Since the \e trait argument will automatically specify the axis to be used, it is not necessary to specify @@ -234,12 +234,12 @@ // Custom includes //#include "SocketPolicy.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup policy_group - /// @{ + //\{ // This may be adapted to change the supported policies (however, ClientSocketHandle and // ServerSocketHandle will probably have to be adjusted accordingly) @@ -414,9 +414,9 @@ namespace senf { /** \brief Enable template overload depending on policy value This template is an example of the \c If \e Axis \c Is family of templates. It is used like - Boost.enable_if to enable a - templated overload only, if the AddressingPolicy of \e Axis is compatible with \c Trait - (that is the AddressingPolicy of \c Policy is derived from \c Trait). + Boost.enable_if + to enable a templated overload only, if the AddressingPolicy of \e Axis is compatible with + \c Trait (that is the AddressingPolicy of \c Policy is derived from \c Trait). \see policy_group */ @@ -509,7 +509,7 @@ namespace senf { SocketHandle with policy \c Base). The metafunction will return true (that is inherits from \c boost::true_type, see the Boost.MPL library documentation for + href="http://www.boost.org/doc/libs/release/libs/mpl/doc/index.html">Boost.MPL library documentation for more information) if each policy class in \c Base is a baseclass of (or the same as) the corresponding policy class in \c Derived. @@ -521,10 +521,10 @@ namespace senf { # endif - /// @} + //\} } -//////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #include "SocketPolicy.ih" //#include "SocketPolicy.cci" #include "SocketPolicy.ct"