kblib 0.2.3
General utilities library for modern C++
kblib::detail::arithmetic_type< T, bool > Struct Template Reference

Filter only arithmetic types. More...

#include <kblib/stringops.h>

Public Types

using type = void
 

Detailed Description

template<typename T, bool = std::is_arithmetic<T>::value>
struct kblib::detail::arithmetic_type< T, bool >

Filter only arithmetic types.

If T is an arithmetic type, provides the member type = T. Otherwise, type = void. The primary template is for non-arithmetic types.

Definition at line 87 of file stringops.h.

Member Typedef Documentation

◆ type

template<typename T , bool = std::is_arithmetic<T>::value>
using kblib::detail::arithmetic_type< T, bool >::type = void

Definition at line 88 of file stringops.h.


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