CLI11  1.9.1
Public Types | Static Public Attributes | List of all members
CLI::detail::uncommon_type< T > Struct Template Reference

#include <TypeTools.hpp>

Public Types

using type = typename std::conditional<!std::is_floating_point< T >::value &&!std::is_integral< T >::value &&!std::is_assignable< T &, std::string >::value &&!std::is_constructible< T, std::string >::value &&!is_vector< T >::value &&!std::is_enum< T >::value, std::true_type, std::false_type >::type
 

Static Public Attributes

static constexpr bool value = type::value
 

Detailed Description

template<typename T>
struct CLI::detail::uncommon_type< T >

Handy helper to contain a bunch of checks that rule out many common types (integers, string like, floating point, vectors, and enumerations

Member Typedef Documentation

◆ type

template<typename T >
using CLI::detail::uncommon_type< T >::type = typename std::conditional<!std::is_floating_point<T>::value && !std::is_integral<T>::value && !std::is_assignable<T &, std::string>::value && !std::is_constructible<T, std::string>::value && !is_vector<T>::value && !std::is_enum<T>::value, std::true_type, std::false_type>::type

Member Data Documentation

◆ value

template<typename T >
constexpr bool CLI::detail::uncommon_type< T >::value = type::value
staticconstexpr

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