Explore >> Select a destination


You are here

studiofreya.org
| | nelari.us
1.9 parsecs away

Travel
| | A small look at some useful template techniques, in the context of trying to bind functions to a virtual machine. I wrote this post mostly for myself so that these techniques would be listed all in one place.
| | eyakubovich.github.io
3.3 parsecs away

Travel
| | It's a simple task -- you want iterate over all the lines in a file and perform an action on each one. In Python it's as simple as:for line in open("somefile.txt"): print lineHow about C++11. How hard can it be? This stackoverflow post gives us a starting point. We...
| | mikejsavage.co.uk
2.2 parsecs away

Travel
| |
| | www.foonathan.net
27.0 parsecs away

Travel
| When C++11 introduced move semantics, it also added two important helper functions: std::move and std::forward. They are essential when you want to manually indicate that you no longer care about an object or need to propagate the value category in generic code. As such, Ive used them countless times in the past. However, they are functions. Plain, old, standard library functions. This is problematic for multiple reasons.