
Husband, father of two awesome boys, C++ minion, emeritus chair of the WG21 SG16 Unicode and text processing study group.
Joined April 2013
- Tweets1.5K
- Following159
- Followers776
- Likes3K
Well folks, that will do it for me. I’m signing off of Twitter for the foreseeable future. Maybe I’ll be back someday if the situation improves. Hope to find you all somewhere else.
1
1
Tom Honermann retweeted
My sister routinely calls me by her son's name, and her son by my name. Has been going on for literally decades. What brain mechanism causes this? 😖
Tom Honermann retweeted
Do you like very modern C++?
Do you want to work in deep-embedded systems?
Have you always wanted to work with me?
If you answered yes to any of the two above, you should apply here: jobs.intel.com/ShowJob/Id/34…
(in the style of @shafikyaghmour)
Tom's #1: Given the following in C2x or C++11:
#include <stdio.h>
int f(int x, int ת) {
return x - ת - 1'2'3;
}
int main() {
printf("%d\n", f(321, 123));
}
Without checking, what output is produced?
3%123
6%75
51%-123
40%See Results
426 votes • Final resultsHmm, Twitter seems to have discarded the LTR mark I inserted; it looked right when I posted it. Substituting <tav> for the problematic character, that return statement should be:
return x - 1’2’3 - <tav>;
2
For those that liked or retweeted the original tweet...
@quadraticink
@WalterSobchak42
@mordberg
@RichardCorden
@JVApen
@socialratnesh
@bobrippling
@crankycatcoder
@vladdy
@xeco1903
@elnormous
@poetscher
@gabriel__val
@renzil
@tobi_goedderz
@horn_pay
@Salimp2009Salim
1
5
@serpent7776
@PlthllC
@Elichai2
@jbab13863024
@Cuder6
@dascandy42
@thekurtwk
@Yes_I_Know_IT
@xbowtim
@MarekKnapek
@maisjesais
@RickyAudet
@tsdotca
@BellaRender
@shkshk90
@jswalden
@RandomNetCat
@jcsahnwaldt
@kobi_ca
@sdowney
@eggleroy
@BarryRevzin
@shafikyaghmour
@PolskeeJ
4
Consider the diagnostics issued by gcc, clang, and MSVC at godbolt.org/z/MM1xE5dM1. Each compiler misaligns the carat with the identifier it is intended to highlight. This is because the diagnostic presentation does not compensate for the right-to-left source code display.
10/11
1
1
SG16 is tracking tooling presentation improvements at github.com/sg16-unicode/sg16….
With some luck, improvements for our right-to-left language speaking friends will begin to emerge in the C++26 time frame.
11/11.
1
2



