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

A type trait that always evaluates to std::false_type. 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 >

A type trait that always evaluates to std::false_type.

Useful inside static_assert to produce a dependent false, which prevents the compiler from instantiating the primary template when a specialization was expected.

Template Parameters
TAny type (the value is always false regardless of T).

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