X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FGenericAddressingPolicy.hh;h=cc5c527110750cd6aa776d922d0f264dc117c5a3;hb=cf4ebe486e7e0543ac8568d3043f43d95f197a96;hp=f4e82162b404634937cec97a01b28876da32ffd4;hpb=d0006132bfcb3ab442cf66b600ed3fad36f1ac2c;p=senf.git diff --git a/Socket/GenericAddressingPolicy.hh b/Socket/GenericAddressingPolicy.hh index f4e8216..cc5c527 100644 --- a/Socket/GenericAddressingPolicy.hh +++ b/Socket/GenericAddressingPolicy.hh @@ -66,6 +66,10 @@ namespace senf { address. The underlying socket address stored at that pointer might be modified. + This template class is inherited into addressing policy classes via private + inheritance. Then the members supported by the respective addressing policy are made + available via \c using declarations (See INet4AddressingPolicy for an Example). + \idea We could explicitly provide open_sockaddr_p() and close_sockaddr_p() members. sockaddr_p could always return a const * whereas open_sockaddr_p should return a non-const pointer. The close operation would then explicitly signal, that the new value