Toot

Written by David Llewellyn-Jones on 2024-11-13 at 22:25

A blog post I've been meaning to write for nearly 20 years: simple Templating in C.

I talk about how to create a simple C++ style template, but using only C code and C pre-processor macros.

Nothing groundbreaking, but a fun exercise that I found helpful in understanding templates more generally.

https://www.flypig.co.uk/blog?&list_id=1209&list=blog

[#]C #programming #template #C++ #preprocessor #macro

=> View attached media

=> More informations about this toot | View the thread | More toots from flypig@mastodon.social

Mentions

Tags

=> View c tag | View programming tag | View template tag | View preprocessor tag | View macro tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113477992954583408
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
226.3228 milliseconds
Gemini-to-HTML Time
0.515568 milliseconds

This content has been proxied by September (3851b).