IRSOL
C++ code implementing socket server for interacting with Baumer camera.
irsol::traits::always_false< T > Struct Template Reference

Always evaluates to false, regardless of the type. More...

#include <traits.hpp>

Inheritance diagram for irsol::traits::always_false< T >:

Detailed Description

template<typename T>
struct irsol::traits::always_false< T >

Always evaluates to false, regardless of the type.

This trait is typically used in static_assert inside if constexpr branches that should never be instantiated, serving as a guard for unreachable cases.

static_assert(irsol::traits::always_false<T>::value, "Unreachable branch encountered");
Always evaluates to false, regardless of the type.
Definition traits.hpp:54
Template Parameters
TAny type.

Definition at line 53 of file traits.hpp.


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