diff --git a/include/rsl/macro b/include/rsl/macro index 3b8ece6..37e7e37 100644 --- a/include/rsl/macro +++ b/include/rsl/macro @@ -23,10 +23,9 @@ */ #define $os_is(os) (RSL_OS == RSL_OS_##os) -// feature macro helper +/// feature macro helper #define $uses_opt(x) USES_OPT(x) -// attributes /** * @param: one of always, never */ @@ -63,4 +62,7 @@ */ #define $for_each(macro, ...) RSL_IMPL_FOR_EACH_DELIM(macro, RSL_IMPL_DELIM_NONE, __VA_ARGS__) -#define $diagnostics(op, ...) RSL_DIAG_##op (__VA_ARGS__) \ No newline at end of file +#define $diagnostics(op, ...) RSL_DIAG_##op (__VA_ARGS__) + +/// Introduces an explicit template region +#define $template template for (auto _ : "")