VLink 2.0.0
A high-performance communication middleware
Loading...
Searching...
No Matches
vlink::Traits::Operatorable< OT, T, typename > Struct Template Reference

Detects whether OT supports << and >> stream operators with T. More...

#include <traits.h>

Inheritance diagram for vlink::Traits::Operatorable< OT, T, typename >:
Collaboration diagram for vlink::Traits::Operatorable< OT, T, typename >:

Detailed Description

template<typename OT, typename T, typename = void>
struct vlink::Traits::Operatorable< OT, T, typename >

Detects whether OT supports << and >> stream operators with T.

Inherits from std::true_type when both ot << t and ot >> t are well-formed expressions. Primarily used to detect stream-compatible types.

Template Parameters
OTThe stream type.
TThe value type.

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