21 Commits

Author SHA1 Message Date
Richard Thier
c874e0fb9e added generics example 2025-04-26 00:41:51 +02:00
Richard Thier
2a45772420 added readme 2025-04-25 22:01:28 +02:00
Richard Thier
fe07cf2106 licence and stuff plus minor changes 2025-04-25 21:44:24 +02:00
Richard Thier
53e4cb652f more fixes and checked clang++ build for generics 2025-04-25 03:35:27 +02:00
Richard Thier
9e642f9ed4 fixed valgrind-found bugs in generic test code, also fixed its cpp build 2025-04-25 03:32:32 +02:00
Richard Thier
6f106988b4 generic programming example added for RAII in C 2025-04-25 01:50:15 +02:00
Richard Thier
1b860723b8 added array/vektor example (missing file) 2025-04-25 01:45:51 +02:00
Richard Thier
68a51e7d7e added c++ expansion example for those interested 2025-04-25 00:06:02 +02:00
Richard Thier
91b20bc366 refactor this with self + add c++ compat 2025-04-25 00:05:39 +02:00
Richard Thier
bf5ad27064 better example - more real usecase 2025-04-24 23:08:32 +02:00
Richard Thier
476a01d6d4 fixed bugs - now handles work with gcc (see example) 2025-04-24 20:58:06 +02:00
Richard Thier
d6bb77d112 interesting debug session + make expand 2025-04-24 20:14:43 +02:00
Richard Thier
3b24e85bb0 handle - untested, first revision for an idea 2025-04-24 20:06:09 +02:00
Richard Thier
8f852036ed added makefile for simple builds 2025-04-24 20:05:32 +02:00
Richard Thier
544196376c added defer test files - currently called raii tests TODO: rename? 2025-04-24 20:05:16 +02:00
Richard Thier
61781e1743 added defer.h which works for GCC and C++ compilers too 2025-04-24 20:04:42 +02:00
Richard Thier
bc3132d438 added macro token-pasting operator example 2025-04-24 20:03:39 +02:00
Richard Thier
3c48b1f8c3 added __COUNTER__ example 2025-04-24 20:02:25 +02:00
Richard Thier
c40c4d035b added gcc example for inner-function definitions and declarations with the "auto" keyword 2025-04-24 18:32:39 +02:00
Richard Thier
2579b4f105 exit(0) test added 2025-04-24 18:22:20 +02:00
Richard Thier
41181c3d04 constructor and destructore attributes 2025-04-24 18:19:47 +02:00