/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

www.fluentcpp.com
| | arne-mertz.de

Having covered the basics of `auto` and rvalue references, there is a third big new C++ feature definitely worth knowing about: creating function objects on the fly with lambda expressions.
5.0 parsecs

Travel
| |
| | brevzin.github.io


3.0 parsecs

Travel
| |
| | entangledlogs.com

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...
4.0 parsecs

Travel
| |
| | aradaelli.com

[AI summary] The author discusses their experience with the programming language D, highlighting its features, advantages over C/C++, and reasons for preferring it despite its niche status.
27.7 parsecs

Travel
|