1#ifndef __CPP_CONSOLE_TEMPLATE_HPP__
2#define __CPP_CONSOLE_TEMPLATE_HPP__
21 static char check(
int,
typename V::const_iterator = T().end());
36 ->
decltype(std::declval<
37 V&>()[std::declval<const typename V::key_type&>()],
41 static std::false_type
check(...);
48 : std::integral_constant<bool, !std::is_same_v<T, std::string>> {};
Namespace Containing all console commands.
Definition ansi.hpp:16
Template for a map-like data type. Matches things like map and unordered_map.
Definition template.hpp:33
static auto check(int) -> decltype(std::declval< V & >()[std::declval< const typename V::key_type & >()], std::true_type{})
static std::false_type check(...)
@ is
Definition template.hpp:43
Definition template.hpp:48
Template for a iterable data type. Matches things like vector, deque, map, etc.
Definition template.hpp:17
@ is
Definition template.hpp:23
static char check(int, typename V::const_iterator=T().end())