Menu

Trigraphs

Cyder

Trigraphs

Config: #define TPP_CONFIG_HAVE_TRIGRAPHS 0/1
Check: #if __has_feature(tpp_trigraphs) || __has_extension(tpp_trigraphs)
Function: tpp.c: _TPPFile_Format

Trigraphs are a old features, that is even considered deprecated in newer versions on c++, but is still contained in the c11 standard.
Trigraphs can be used, to get special characters in source code, without needing a keyboard capable of those characters.
Although nowadays everybody has a keyboard, that includes all those characters.
This feature is included in TPP, but is disabled in all releases of the frontend.

Trigraphs are replaced at the same time comments are removed and can be located anywhere in a source file.

Trigraph Replacement
??= #
??( [
??/ \
??) ]
??' ^
??< {
??! |
??> }
??- ~

MongoDB Logo MongoDB