diff --git a/typestring.hh b/typestring.hh index 694c2f9..22b773e 100644 --- a/typestring.hh +++ b/typestring.hh @@ -101,6 +101,10 @@ auto typoke(typestring) // as is... template auto typoke(typestring, typestring<'\0'>, typestring...) -> typestring; + +template +auto typoke(typestring<'\0'>, typestring<'\0'>, typestring...) + -> typestring<>; template auto typoke(typestring, typestring, typestring...) @@ -110,6 +114,9 @@ template auto typeek(typestring) -> decltype(typoke(typestring()...)); +auto typeek(typestring<'\0'>) + -> typestring<>; + template auto tycat_(typestring, typestring, X... x) -> decltype(tycat_(typestring(), x...));