arsenalgear-cpp
A library containing general purpose C++ utils.
Classes | Namespaces | Macros | Functions
type.hpp File Reference
#include <type_traits>
#include <string>
#include <string_view>
#include <iostream>
#include <typeinfo>
Include dependency graph for type.hpp:

Go to the source code of this file.

Classes

struct  agr::is_streamable< S, T, typename >
 Struct used to check if a type is a streamable or not, i.e. it has operator << overload or not. More...
 
struct  agr::is_streamable< S, T, std::void_t< decltype(std::declval< S & >()<< std::declval< T >()) > >
 

Namespaces

 agr
 

Macros

#define ARSENALGEAR_TYPE_HPP
 

Functions

template<typename T , std::size_t N>
constexpr bool agr::is_pointer_to_const_char (T(&)[N])
 Function used to check if an input array is a pointer to const char. More...
 
template<typename T >
constexpr bool agr::is_pointer_to_const_char (T &&)
 Function used to check if an input variable is a pointer to const char. More...
 
template<class T >
constexpr bool agr::is_str (const T &obj)
 Function used to check if a variable is a string object (std::string, const char*, etc...). More...
 
template<typename Kind , typename... Kinds>
bool agr::is_any ()
 Function used to check if a type is in a list or not. More...
 

Detailed Description

Author
Gianluca Bianco (bianc.nosp@m.ogia.nosp@m.nluca.nosp@m.9@gm.nosp@m.ail.c.nosp@m.om)
Date
2022-09-24

Macro Definition Documentation

◆ ARSENALGEAR_TYPE_HPP

#define ARSENALGEAR_TYPE_HPP