3 ms·
There are many improved versions of string APIs out there, too many in fact to choose from, and most suffer from one flaw or another, depending on one's point o
by msebor 6y ago
There are many improved versions of string APIs out there, too many in fact to choose from, and most suffer from one flaw or another, depending on one's point of view. Most of my recent proposals to incorporate some that do solve some of the most glaring problems and that have been widely available for a decade or more and are even parts of other standards (POSIX) have been rejected by the committee. I think only memccpy and strdup and strdndup were added for C2X. (See http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2349.htm http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2349.htm for an overview.)
- AceJohnny2 6y ago> Most of my recent proposals [...] have been rejected by the committee. Does anyone have insight on why?
- saagarjha 6y agomemccpy is a very welcome addition in the front of copying strings; what else were you thinking of proposing?