Tag Archives: C++

Using Ranges and Functional Programming in C++

C++ is a very versatile language. Among other things, you can do generic meta-programming and functional programming in C++, as well as the better-known facilities for procedural and object-oriented programming. In this installment, we will look at the functional programming … Continue reading

Posted in C++ for the self-taught | Tagged , , , | 1 Comment

Ranges

The concept of a range is one of the fundamental concepts in the design of the STL and of the C++ programming language. In this installment, we will take a close look at what a range is, and we will … Continue reading

Posted in C++ for the self-taught | Tagged , , | Comments Off on Ranges

Ah – The One Definition Rule

In response to Scott Meyers’ question on non-inline non-template functions and the one-definition rule, Francis Glassborow replied with a very interesting example of two lexically identical functions that weren’t actually identical.

Posted in C & C++, Software Design | Tagged | Comments Off on Ah – The One Definition Rule