the author found several dozen occurrences of the T...... pattern in a GitHub code search
I feel like I've seen some whacky code in my time in C++, but anyone who willingly writes T...... needs help. The only reason I know of this syntax is because of the paper on it - and that's before you even get into the fact that va_list and friends are virtually obsolete in C++
Where else should I store all my voids? I know it's more common to see std::map<std::string, void> favorite_voids; for named voids such as favorite_voids["donut hole"], but a vector sounds fine as well.
The proposal’s name is a playful reference to the Oxford comma - that final comma before “and” in a list. Just as the Oxford comma clarifies lists in English, this proposal mandates a comma before the ellipsis in function parameters.
80
u/James20k P2005R0 Mar 11 '26
I feel like I've seen some whacky code in my time in C++, but anyone who willingly writes
T......needs help. The only reason I know of this syntax is because of the paper on it - and that's before you even get into the fact that va_list and friends are virtually obsolete in C++46
u/TheoreticalDumbass :illuminati: Mar 11 '26
while we lost the hexadot
......, we gained a new hexadot::::namespace foo = [:^^:::];58
u/ClockworkV Mar 11 '26
This is the bad place.
33
u/il_dude Mar 11 '26
The six dots example is outrageous.
16
u/spinrack Mar 11 '26
Just in case you thought X++++ was not confusing enough, here is T……
3
u/GYN-k4H-Q3z-75B Mar 11 '26
This blog post is beautiful and perfect.
5
u/LazySapiens Mar 11 '26 edited Mar 11 '26
Why is it called the Oxford variadic comma?
EDIT (for the downvoter): English is not my native language and I didn't know what an "Oxford comma" was.
1
u/DramaSpecial7344 Mar 18 '26
Can someone please suggest C++ only projects for resume boosting??
-23
u/_w62_ Mar 11 '26
That's why we need vibe coding.