/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.cplusplus.com
| | 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.3 parsecs

Travel
| |
| | www.fluentcpp.com

Variadic templates allow any number of template parameters of any type. In this article we see how to do a variadic number of parameters of the SAME type.
3.9 parsecs

Travel
| |
| | exploringjs.com

[AI summary] A comprehensive guide to the features, syntax, and best practices of ECMAScript 6 (ES6) for JavaScript programmers.
2.9 parsecs

Travel
| |
| | www.baturin.org

[AI summary] This blog post tutorial explains advanced OCaml programming concepts including parametric polymorphism, higher-order functions like combinators and composition, and algebraic data types with pattern matching.
20.1 parsecs

Travel
|