Explore >> Select a destination


You are here

ericniebler.com
| | herbsutter.com
6.1 parsecs away

Travel
| | This special Guru of the Week series focuses on contracts. We covered some basics of preconditions in GotW #100. This time, let's see how we can use preconditions in some practical examples... 1. Consider these functions, expanded from an article by Andrzej Krzemie?ski: [1] ... How many ways could a caller of each function get...
| | www.foonathan.net
5.5 parsecs away

Travel
| | Strong or opaque typedefs are typedefs that truly create new types instead of aliases. They are very useful to prevent accidental conversions and give more semantic meanings. This post shows you how they can be emulated in C++ today.
| | eyakubovich.github.io
6.6 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...
| | theincredibleholk.org
26.8 parsecs away

Travel
| As I've written about before, one of the major features we're working on adding to Rust is to allow async functions in traits. Today we have support in nightly ...