211:
standard, a 7-bit character set with a number of regional variations, some of which have accented characters in place of the punctuation marks used by C operators.
622:
671:
188:
header. The tokens were created by Bjarne
Stroustrup for the pre-standard C++ language and were added to the C standard in a 1995 amendment to the
475:
610:
399:
have, at least in the past, required the header to be included in order to use these identifiers unless a compiler flag is set. The header
160:
424:
715:
594:
569:
544:
515:
507:
153:
380:
690:
146:
72:
663:
42:
696:
62:
468:
376:
196:
177:
67:
52:
644:
454:
396:
200:
8:
444:
57:
181:
22:
16:
C standard library header providing a set of alternative spellings of common operators
590:
565:
540:
536:
511:
499:
82:
77:
47:
189:
700:
709:
207:
keyboards. The name of the header file they are implemented in refers to the
37:
695:: alternative spellings – Base Definitions Reference,
208:
395:. However they both had no effect, being empty. Some compilers, such as
383:
and do not require the inclusion of a header file. For consistency, the
203:
which could otherwise be hard to type on some international and non-
176:
refer to a set of alternative spellings of common operators in the
132:
123:
105:
469:"Rationale for International Standard - Programming Languages - C"
449:
408:
404:
384:
114:
204:
192:
standard via library to avoid the breakage of existing code.
180:. They are implemented as a group of macro constants in the
223:
header defines the following 11 macros as stated below:
437:
492:
559:
707:
195:The alternative tokens allow programmers to use
461:
154:
584:
664:"Clarifying the status of the "C headers""
498:
445:"CppCon 2017: Panel "Grill the Committee""
161:
147:
560:Van Weert, Peter; Gregoire, Marc (2019).
585:Deitel, Paul; Deitel, Harvey M. (2013).
530:
642:
415:was retained for compatibility with C.
708:
562:C++17 Standard Library Quick Reference
661:
375:The above-mentioned identifiers are
13:
589:. Pearson Education. p. 928.
14:
727:
682:
508:Addison-Wesley Publishing Company
674:from the original on 2024-01-11.
457:from the original on 2021-12-12.
625:from the original on 2021-12-28
481:from the original on 2016-06-06
668:C++ Standards Committee Papers
655:
636:
603:
578:
553:
524:
1:
697:The Single UNIX Specification
643:Whitney, Tyler (2021-12-07).
430:
214:
662:Köppe, Thomas (2021-06-11).
381:ISO C++ programming language
7:
504:Design and Evolution of C++
425:Digraphs and trigraphs in C
418:
10:
732:
670:. ISO/IEC JTC1 SC22 WG21.
716:C (programming language)
43:Character classification
611:"Logical AND Operator:
564:. Apress. p. 277.
387:standard provided both
531:Lischner, Ray (2003).
370:
178:C programming language
587:C++11 for Programmers
96:Miscellaneous headers
474:. 5.10. April 2003.
397:Microsoft Visual C++
391:and a corresponding
199:bitwise and logical
174:C alternative tokens
500:Stroustrup, Bjarne
403:was deprecated in
182:C standard library
88:Alternative tokens
23:C standard library
699:, Version 4 from
645:"<ciso646>"
533:C++ in a Nutshell
407:, and removed in
377:operator keywords
368:
367:
171:
170:
73:Memory allocation
58:File input/output
723:
694:
693:
676:
675:
659:
653:
652:
640:
634:
633:
631:
630:
614:
607:
601:
600:
582:
576:
575:
557:
551:
550:
528:
522:
521:
506:(1st ed.).
496:
490:
489:
487:
486:
480:
473:
465:
459:
458:
441:
414:
413:<iso646.h>
402:
394:
390:
389:<iso646.h>
364:
359:
352:
347:
340:
335:
328:
323:
316:
311:
304:
299:
292:
287:
280:
275:
268:
263:
256:
251:
244:
239:
226:
225:
222:
187:
163:
156:
149:
136:
127:
118:
109:
19:
18:
731:
730:
726:
725:
724:
722:
721:
720:
706:
705:
689:
688:
685:
680:
679:
660:
656:
649:Microsoft Learn
641:
637:
628:
626:
612:
609:
608:
604:
597:
583:
579:
572:
558:
554:
547:
539:. p. 384.
529:
525:
518:
497:
493:
484:
482:
478:
471:
467:
466:
462:
443:
442:
438:
433:
421:
412:
401:<ciso646>
400:
393:<ciso646>
392:
388:
373:
362:
357:
350:
345:
338:
333:
326:
321:
314:
309:
302:
297:
290:
285:
278:
273:
266:
261:
254:
249:
242:
237:
220:
217:
185:
167:
130:
121:
112:
103:
78:Process control
17:
12:
11:
5:
729:
719:
718:
704:
703:
701:The Open Group
684:
683:External links
681:
678:
677:
654:
635:
621:. 2021-11-23.
619:Microsoft Docs
602:
595:
577:
570:
552:
545:
537:O'Reilly Media
523:
516:
502:(1994-03-29).
491:
460:
435:
434:
432:
429:
428:
427:
420:
417:
372:
369:
366:
365:
360:
354:
353:
348:
342:
341:
336:
330:
329:
324:
318:
317:
312:
306:
305:
300:
294:
293:
288:
282:
281:
276:
270:
269:
264:
258:
257:
252:
246:
245:
240:
234:
233:
230:
216:
213:
169:
168:
166:
165:
158:
151:
143:
140:
139:
138:
137:
128:
119:
110:
98:
97:
93:
92:
91:
90:
85:
80:
75:
70:
65:
60:
55:
50:
45:
40:
32:
31:
30:General topics
27:
26:
15:
9:
6:
4:
3:
2:
728:
717:
714:
713:
711:
702:
698:
692:
687:
686:
673:
669:
665:
658:
650:
646:
639:
624:
620:
616:
606:
598:
596:9780133439878
592:
588:
581:
573:
571:9781484249239
567:
563:
556:
548:
546:0-596-00298-X
542:
538:
534:
527:
519:
517:0-201-54330-3
513:
509:
505:
501:
495:
477:
470:
464:
456:
452:
451:
446:
440:
436:
426:
423:
422:
416:
410:
406:
398:
386:
382:
378:
361:
356:
355:
349:
344:
343:
337:
332:
331:
325:
320:
319:
313:
308:
307:
301:
296:
295:
289:
284:
283:
277:
272:
271:
265:
260:
259:
253:
248:
247:
241:
236:
235:
231:
228:
227:
224:
212:
210:
206:
202:
198:
193:
191:
183:
179:
175:
164:
159:
157:
152:
150:
145:
144:
142:
141:
134:
129:
125:
120:
116:
111:
107:
102:
101:
100:
99:
95:
94:
89:
86:
84:
81:
79:
76:
74:
71:
69:
66:
64:
61:
59:
56:
54:
51:
49:
46:
44:
41:
39:
36:
35:
34:
33:
29:
28:
24:
21:
20:
667:
657:
648:
638:
627:. Retrieved
618:
605:
586:
580:
561:
555:
532:
526:
503:
494:
483:. Retrieved
463:
448:
439:
374:
218:
194:
173:
172:
87:
68:Localization
232:Defined as
209:ISO/IEC 646
53:Mathematics
629:2021-12-27
613:&&
485:2010-10-17
431:References
243:&&
215:The macros
197:C language
38:Data types
201:operators
63:Date/time
710:Category
691:iso646.h
672:Archived
623:Archived
476:Archived
455:Archived
419:See also
411:, while
221:iso646.h
186:iso646.h
133:stdarg.h
124:setjmp.h
106:assert.h
450:YouTube
379:in the
184:in the
115:errno.h
83:Signals
48:Strings
593:
568:
543:
514:
358:xor_eq
310:not_eq
262:bitand
255:&=
250:and_eq
229:Macro
205:QWERTY
25:(libc)
479:(PDF)
472:(PDF)
409:C++20
405:C++17
385:C++98
334:or_eq
286:compl
274:bitor
267:&
591:ISBN
566:ISBN
541:ISBN
512:ISBN
219:The
135:>
131:<
126:>
122:<
117:>
113:<
108:>
104:<
371:C++
346:xor
298:not
238:and
190:C90
712::
666:.
647:.
617:.
535:.
510:.
453:.
447:.
363:^=
339:|=
327:||
322:or
315:!=
651:.
632:.
615:"
599:.
574:.
549:.
520:.
488:.
351:^
303:!
291:~
279:|
162:e
155:t
148:v
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.