|
From: | Paul Eggert |
Subject: | Re: XMALLOC() et al |
Date: | Fri, 19 Jul 2024 17:24:53 -0700 |
User-agent: | Mozilla Thunderbird |
On 2024-07-19 17:13, Alejandro Colomar wrote:
Are XMALLOC et al. part of the public API, or are they only internal helper macros? Are there current users of it (apart from gnulib itself)? I'm interested in discussing some details about that set of macros if they're not set in stone.
They're not documented anywhere other than the source code. They're a bit controversial in the sense that I would rather not see their use proliferate.
In a sense they're a poor substitute for C++ templates and my feeling is that if you want C++ you should use C++.
[Prev in Thread] | Current Thread | [Next in Thread] |