VLink  2.0.0
A high-performance communication middleware
vlink::Traits::ExpectFalse< T > Struct Template Reference

Type trait that always derives from std::false_type for any T. More...

#include <traits.h>

Inheritance diagram for vlink::Traits::ExpectFalse< T >:
Collaboration diagram for vlink::Traits::ExpectFalse< T >:

Detailed Description

template<typename T>
struct vlink::Traits::ExpectFalse< T >

Type trait that always derives from std::false_type for any T.

Used inside static_assert to produce a dependent false expression, which prevents the compiler from instantiating a primary template when only a specialisation is valid.

Template Parameters
TArbitrary placeholder type; the value is always false.

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