IRSOL
C++ code implementing socket server for interacting with Baumer camera.
traits.hpp File Reference

Template metaprogramming traits for type introspection in the irsol library. More...

#include "irsol/types.hpp"
#include <type_traits>
#include <variant>

Go to the source code of this file.

Classes

struct  irsol::traits::always_false< T >
 Always evaluates to false, regardless of the type. More...
 
struct  irsol::traits::is_type_in_variant< T, std::variant< VariantClassesT... > >
 

Namespaces

namespace  irsol
 
namespace  irsol::traits
 Metaprogramming utility namespace.
 

Variables

template<typename T , typename VariantT >
constexpr bool irsol::traits::is_type_in_variant_v = is_type_in_variant<T, VariantT>::value
 Variable template shorthand for is_type_in_variant.
 

Detailed Description

Template metaprogramming traits for type introspection in the irsol library.

Provides generic utility templates for controlling function overloads and template specialization based on type traits, including membership in variant types and compile-time guards.

Definition in file traits.hpp.