From 98706bcd54d244c06dd1c23ef892d01363eaf3e6 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 28 Sep 2021 11:28:48 +0200 Subject: Simplified usage of user-defined container names (and methods prefix). --- include/stc/template.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/stc/template.h b/include/stc/template.h index 73f87f38..f0b0a8d7 100644 --- a/include/stc/template.h +++ b/include/stc/template.h @@ -51,6 +51,11 @@ #define i_tag F_tag #define i_fwd #endif +#ifdef i_cnt + #define i_tag i_cnt + #undef i_prefix + #define i_prefix +#endif #ifndef i_prefix_csptr #define i_prefix_csptr csptr_ @@ -186,6 +191,7 @@ #undef i_key_csptr #undef i_val_csptr #undef i_prefix_csptr +#undef i_cnt #undef Self #undef i_template -- cgit v1.2.3