/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

howardhinnant.github.io
| | entangledlogs.com
5.8 parsecs away

Travel
| | Generic Programming: Generating part of programs Introduction Generic Programming: Programming with generic parameters to avoid unnecessary code duplication and encourage code reuse. Polymorphism is also another technique to solve code reuse Puts implicit constraints on the generic types that are to be fulfilled by concrete types. template T adder(T LHS, T RHS) { return LHS + RHS; } struct Foo { inv Val = 0; } Foo f = adder(Foo{}, Foo{}): In this code snippet, we assume that Foo meets the requirement tha...
| | www.cppstories.com
6.4 parsecs away

Travel
| | Let's take a pair of two types - what can you do with such composition? In this article, I'll describe std:optional - a new helper type added in C++17. It's a wrapper for your type and a flag that indicates if the value is initialized or not. Let's see where it can be useful and how you can use it.
| | www.codeproject.com
5.6 parsecs away

Travel
| | A implementation of a delegate library which can work faster than "the Fastest Possible C++ Delegates" and is completely compatible with the C++ Standard.
| | goongoguma.github.io
25.2 parsecs away

Travel
| . ? ? ? ? ? ? ? ? ? ?.