senf::IfAddressingPolicyIs< SocketPolicy, Trait > Struct Template Reference

Enable template overload depending on policy value. More...

#include <senf/Socket/SocketPolicy.hh>

Detailed Description

template<class SocketPolicy, class Trait>
struct senf::IfAddressingPolicyIs< SocketPolicy, Trait >

Enable template overload depending on policy value.

This template is an example of the If Axis Is family of templates. It is used like Boost.enable_if to enable a templated overload only, if the AddressingPolicy of Axis is compatible with Trait (that is the AddressingPolicy of Policy is derived from Trait).

See also
The Policy Framework

Definition at line 427 of file SocketPolicy.hh.


The documentation for this struct was generated from the following file: