From 77532ca8eea46725ed216a86f5ac0ddc07646e9b Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Mon, 25 Oct 2021 01:58:54 -0400 Subject: [PATCH] These types might help `main` declarations cleaner. --- types.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 types.h diff --git a/types.h b/types.h new file mode 100644 index 0000000..66074f4 --- /dev/null +++ b/types.h @@ -0,0 +1,24 @@ +static_assert( __cplusplus > 201700, "C++17 Required" ); + +#pragma once + +#include + +namespace Alepha::Hydrogen +{ + inline namespace exports { inline namespace types {} } + + namespace detail::types + { + inline namespace exports + { + using argvec_t= const char *const []; + using argcnt_t= int; + } + } + + namespace exports::types + { + using namespace detail::types::exports; + } +}