From 7ea33c80e2d8841d6fb3cfa090a28f3583ad0c2a Mon Sep 17 00:00:00 2001 From: ado Date: Wed, 6 Jan 2021 09:08:59 +0100 Subject: [PATCH] replace stdlib.h with cstdlib, remove not needed forward declarations in type traits, fix README typo --- README.md | 2 +- include/ss/parser.hpp | 2 +- include/ss/type_traits.hpp | 14 -------------- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 6aef1dd..0a8f7f0 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Bill (Heath) Gates 65 3.3 * Conversions can be chained if invalid * Fast -# Instalation +# Installation ``` $ git clone https://github.com/red0124/ssp diff --git a/include/ss/parser.hpp b/include/ss/parser.hpp index 1dd978d..20385d5 100644 --- a/include/ss/parser.hpp +++ b/include/ss/parser.hpp @@ -5,7 +5,7 @@ #include "restrictions.hpp" #include #include -#include +#include #include #include diff --git a/include/ss/type_traits.hpp b/include/ss/type_traits.hpp index 11a2dc7..75683e6 100644 --- a/include/ss/type_traits.hpp +++ b/include/ss/type_traits.hpp @@ -57,14 +57,6 @@ using head_t = typename left_of_impl<0, Ts...>::type; // tup tail/last //////////////// -template -struct right_of_impl; - -template -struct right_of_impl { - using type = typename right_of_impl::type; -}; - template struct right_of_impl<0, T, Ts...> { using type = std::tuple; @@ -230,9 +222,6 @@ using filter_not_t = typename filter_not::type; // count //////////////// -template