SyTen
is_not_streamcontrol.h File Reference

Templates to check whether a type is not a stream control type. More...

#include <iomanip>
#include <type_traits>
+ Include dependency graph for is_not_streamcontrol.h:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  is_not_streamcontrol_impl< T >
 Implementation helper: Primary overload, true for all. More...
 
struct  is_not_streamcontrol_impl< std::decay_t< decltype(std::scientific)> >
 Implementation helper: False for std::scientific. More...
 
struct  is_not_streamcontrol_impl< std::decay_t< decltype(std::setprecision(1))> >
 Implementation helper: False for std::setprecision. More...
 
struct  is_not_streamcontrol_impl< std::decay_t< decltype(std::setw(1))> >
 Implementation helper: False for std::setw() More...
 

Variables

template<typename T >
constexpr bool is_not_streamcontrol = is_not_streamcontrol_impl<std::decay_t<T> >::value
 Variable which is true if T is not a stream control type. More...
 

Detailed Description

Templates to check whether a type is not a stream control type.