|
C++
1 - 20 of 160 Previous Next
The Good Parasite Class Explained
May 22, 2009A good parasite class promotes the use of objects that are never destroyed, a controversial notion in C++. So why use it? What other advantages does it offer? Can you declare additional member functions in such a class? The inventor of the good parasite technique explains.
An Introduction to Variadic Templates in C++0x
April 24, 2009Templates are one of the most powerful features in C++, and variadic templates make them even more powerful. Variadic templates in the C++0x standard library can greatly simplify the writing of type-safe code with variable numbers of arguments.
Use the Factory Pattern to Facilitate Dynamic Typing
February 12, 2009An abstract base class from which concrete classes are derived is a very common idiom in object-oriented code. So common indeed that a special design pattern called Factory was devised to simplify the runtime creation of derived objects elegantly . Learn Factory can boost your code's reliability and performance.
Lambda Functions Are Ready for Prime Time
January 16, 2009Experts predict that 2009 will be the year of the functional programming paradigm. The revised and enhanced C++0x lambda expressions syntax provides you with exactly the right tools for painless functional programming. Learn how lambda expressions can boost your code and eliminate tedious manual coding.
Have It Your Way
December 22, 2008Are you tired of Windows Explorer in Vista changing your folder views? Here's a registry tweak that solves the problem.
Uniform and Convenient Initialization Syntax
November 13, 2008Not only does C++98 have four different syntactic forms for initializing class objects, aggregates, char arrays and scalar types, it doesn't let you initialize member arrays and dynamically allocated arrays at all. Learn how C++0x fixes these flaws with a uniform and intuitive initialization syntax.
Use Explicit Conversion Functions to Avert Reckless Implicit Conversions
October 9, 2008Conversion functions are inherently unsafe as they might surprise you with implicit conversions over which you have no control. This is why such functions have been avoided for years. Learn how the new C++0x explicit conversion functions put an end to years of conversion functions blues.
Who's the Smartest of 'Em All? Get to Know std::unique_ptr
September 11, 2008C++0x now offers a safer and extremely versatile smart pointer class called std::unique_ptr. Learn how to implement strict ownership semantics with unique_ptr and benefit from its diverse servicescustomized deleters, safe usage with containers and algorithms, and array handling.
Timeline: C++ in Retrospect
September 8, 2008From its nascent pre-processor in 1979 to today's incredibly sophisticated language features and libraries, we've documented each step along the way.
C++0x: The Dawning of a New Standard
August 18, 2008It's been 10 years since the first ISO C++ standard, and 2009 will bring us the second. In this special report, DevX delves into the new features being discussed by the standards team. Learn how these new features will revolutionize the way you code.
Overview: C++ Gets an Overhaul
August 18, 2008In this overview of the changes proposed for the new standard, you'll get an idea of the kinds of improvements you can expect this time around.
Easier C++: An Introduction to Concepts
August 18, 2008C++0x concepts bring the full power of the Generic Programming paradigm to C++, making templates more expressive, easier to write, and easier to use. Spectacularly poor template error messages are a thing of the past!
Simpler Multithreading in C++0x
August 18, 2008The new standard will support multithreading, with a new thread library. Find out how this will improve porting code, and reduce the number of APIs and syntaxes you use.
Probe and Modify Your Types' Alignment Programmatically
July 10, 2008C++03 offers no portable mechanism for querying the alignment of a certain type, let alone overriding the default alignment. This vexing state of affairs is about to change with the addition of two new built-in operators to C++0x.
1 - 20 of 160 Previous Next
|