gbranden pushed a commit to branch master
in repository groff.
commit 62c223ead2ac0042604ad0c5a0957c76e891ddb8
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat May 17 11:43:37 2025 -0500
HACKING: Clarify a pain point.
---
HACKING | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/HACKING b/HACKING
index a5291366c..d5783a50c 100644
--- a/HACKING
+++ b/HACKING
@@ -26,7 +26,9 @@ Portability notes:
* `std::size` is not available in C++98. Use the `array_length`
template function in src/include/lib.h instead of `sizeof` and
- dividing.
+ dividing. Types passed to template functions cannot be anonymous in
+ C++98; in other words, the "tag" of a `struct` or `enum` type must not
+ be empty.
* C++98 lacks value initialization for array types.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit