in

You’ve heard of the C++ “goes to” operator, now get ready for the armor-piercing arrow operator

You've heard of the C++ "goes to" operator, now get ready for the armor-piercing arrow operator | try-memes, c++-memes, oop-memes, IT-memes | ProgrammerHumor.io
try-memes, c++-memes, oop-memes, IT-memes | ProgrammerHumor.io

Content

22 Instead of regular arrow operator (–) you can use armor-piercing arrow operator: –x (note those sharp barbs on the arrow tip). It adds 1 to armor piercing, so it finishes the loop 1 iteration faster than regular arrow operator. Try it yourself: int x 10; while(–x 0 ) printf("d " , X);