2151 shaares
7 private links
7 private links
A protocol detecting server, based off the serve2 library
attribute ((cleanup(f)): according to the documentation, this variable attribute would call the function f on the variable before exiting the current scope.
I was delighted.
Return value optimization, simply RVO, is a compiler optimization technique that allows the compiler to construct the return value of a function at the call site.
If you ever connected to the Internet before the 2000s, you probably remember that it made a peculiar sound. But despite becoming so familiar, it remained a mystery for most of us. What do these sounds mean?