- Uses of immediately invoked function expressions (IIFE) in C++ https://rigtorp.se/iife/ 54 comments cpp
Linked pages
- Compiler Explorer http://gcc.godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(j:1,options:(colouriseAsm:%270%27,compileOnChange:%270%27),source:%27//+Compare+multiple+compilers+at+once%0A//+using+the+!%27%2B!%27+button.%0Aint+testFunction(int*+input,+int+length)+%7B%0A++int+sum+%3D+0%3B%0A++for+(int+i+%3D+0%3B+i+%3C+length%3B+%2B%2Bi)+%7B%0A++++sum+%2B%3D+input%5Bi%5D%3B%0A++%7D%0A++return+sum%3B%0A%7D%0A%27),l:%275%27,n:%271%27,o:%27C%2B%2B+source+%231%27,t:%270%27)),k:27.612542007477654,l:%274%27,n:%270%27,o:%27%27,s:0,t:%270%27),(g:!((h:compiler,i:(compiler:g62,filters:(b:%270%27,commentOnly:%270%27,directives:%270%27,intel:%270%27),options:%27-O2%27),l:%275%27,n:%270%27,o:%27%231+with+x86-64+gcc+6.2%27,t:%270%27)),k:26.189215099875707,l:%274%27,m:100,n:%270%27,o:%27%27,s:0,t:%270%27),(g:!((h:compiler,i:(compiler:icc17,filters:(b:%270%27,commentOnly:%270%27,directives:%270%27,intel:%270%27),options:%27-O2%27),l:%275%27,n:%270%27,o:%27%231+with+x86-64+icc+17%27,t:%270%27)),k:46.19824289264664,l:%274%27,n:%270%27,o:%27%27,s:0,t:%270%27)),l:%272%27,n:%270%27,o:%27%27,t:%270%27)),version:4 410 comments
- C++ Core Guidelines https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Ri-global 216 comments
- Forcing code out of line in GCC and C++11 — Matt Godbolt’s blog http://xania.org/201209/forcing-code-out-of-line-in-gcc 55 comments
- Statement Exprs (Using the GNU Compiler Collection (GCC)) https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html 27 comments
- Attribute specifier sequence(since C++11) - cppreference.com http://en.cppreference.com/w/cpp/language/attributes 9 comments
Would you like to stay up to date with C & C++? Checkout C & C++
Weekly.
Related searches:
Search whole site: site:rigtorp.se
Search title: Uses of Immediately Invoked Function Expressions (IIFE) in C++ | Erik Rigtorp
See how to search.