Languages
- 1461
- C++ Programming Style Guidelines
- Lists C++ coding recommendations common in the C++ development community. (Geotechnical Software Services)
- 1462
- C++ Style and Technique FAQ
- Collection of questions about C++ Style and Technique by Bjarne Stroustrup.
- 1463
- Coding Guidelines for Integral Constant Expressions
- This short article from the boost project is designed to provide a set of guidelines and workarounds that will allow integral constant expressions to be used in a manner portable to many compilers.
- 1465
- UWYN C++ Coding Standard
- This document explains the C++ coding style at UWYN and lists a number of best practices that should be followed.
- 1466
- An Improved Variant Type Based on Member Templates
- This article presents the class variant_t, which encapsulates a mechanism to hold values of arbitrary types.
- 1468
- C++ Templates: Metaprograms
- Nicolai M. Josuttis and David Vandevoorde examine metaprogramming, or "programming a program." Learn how to lay out code that the programming system executes to generate new code that implements the functionality you really want.
- 1469
- Gnarly New C++ Language Features
- Description and examples about some newer C++ template features which are now broadly supported by the compilers.
- 1470
- Introduction to C++ Templates
- C++ templates are a powerful mechanism for code reuse, as they enable the programmer to write code that behaves the same for data of any type. [PDF]
- 1471
- Multiple Dispatch: A New Approach Using Templates and RTTI
- This article focuses on two new techniques based on templates and Run Time Type Identification (RTTI).
- 1472
- Templates and Inheritance Interacting in C++
- Discover the interesting ways that templates and inheritance interact by taking a close look at named template arguments, the Empty Base Class Optimization (EBCO), the Curiously Recurring Template Pattern (CRTP), and parameterized virtuality.
- 1473
- Templates for Efficient Dynamic Type Checking
- Presents a handy template that makes it easy to check casts without losing performance.
- 1474
- Traits
- A new and useful template technique that radically simplifies the interface to class templates instantiable on native C++ types.
- 1475
- Typed Buffers, Part 1
- This article treats memory buffers in C++, but with two twists: first, the buffers are generic, which means they can contain typed data. Second, the buffers are as efficient as their hosted type and the host operating system allows, in every aspect.
- 1476
- Typed Buffers, Part 2
- This article does not treat buffers directly, but rather two operations that are commonly performed with buffers: filling a buffer with a value and copying between buffers and various containers.
- 1477
- An Introduction to Variadic Templates in C++0x
- Introduces the syntax for declaring and using variadic templates, along with some simple examples of variadic function templates and variadic class templates. (April 24, 2009)
- 1478
- A Deeper Look at Metafunctions
- This article investigates the use of metafunctions in template metaprogramming, and introduces the Boost Metaprogramming Library. It is an excerpt from the book, C++ Template Metaprogramming by David Abrahams and Aleksey Gurtovoy. (August 23, 2004)