StormByte C++ Library 0.0.9999
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::ValidVariadicType Concept Reference

Concept to check if a type is a valid variadic type. More...

#include <variadic_value.hxx>

Concept definition

template<typename T>
(!std::is_pointer_v<T>) &&
(std::is_same_v<T, std::shared_ptr<typename T::element_type>> ||
std::is_same_v<T, std::unique_ptr<typename T::element_type>> ||
!std::is_class_v<T> ||
std::is_class_v<T>)
Concept to check if a type is a valid variadic type.
Definition variadic_value.hxx:23
std::conditional_t< is_reference< T >::value, std::expected< std::reference_wrapper< std::remove_reference_t< T > >, std::shared_ptr< E > >, std::expected< T, std::shared_ptr< E > > > Expected
Expected type with support for reference types.
Definition expected.hxx:32

Detailed Description

Concept to check if a type is a valid variadic type.

Template Parameters
Ttype