Click here to Skip to main content
15,029,333 members
Everything / Programming Languages / C++11

C++11

C++11

Great Reads

by Shao Voon Wong
Floating Point Format For C++ and C# Programmers
by Michael Chourdakis
An easy locking class for shared/exclusive mutex functions with upgrade/downgrade
by MehreenTahir
This article will show you an alternative way of using C++; How to write functional code in C++. You’ll see how to write more concise, safer, readable, reasonable code.
by Shao Voon Wong
Bring your animations to H264/HEVC video using C++ and C# with h/w acceleration

Latest Articles

by Piotr Grygorczuk
Enable C++11 multithreading features in GCC for FreeRTOS
by AlexeyAB
Smart pointer that makes any object thread-safe for any operations, with the performance equal to that of optimized lock-free containers
by honey the codewitch
Make your code more efficient by hacking your compiler to improve its optimization capabilities
by honey the codewitch
Some C++ magic to help cut down on heap abuse for simple scenarios

All Articles

Sort by Score

C++11 

Please Sign up or sign in to vote.
12 Jan 2020
Shao Voon Wong
Floating Point Format For C++ and C# Programmers
Please Sign up or sign in to vote.
13 Jul 2019
Michael Chourdakis
An easy locking class for shared/exclusive mutex functions with upgrade/downgrade
Please Sign up or sign in to vote.
23 Nov 2018
MehreenTahir
This article will show you an alternative way of using C++; How to write functional code in C++. You’ll see how to write more concise, safer, readable, reasonable code.
Please Sign up or sign in to vote.
8 Aug 2020
Shao Voon Wong
Bring your animations to H264/HEVC video using C++ and C# with h/w acceleration
Please Sign up or sign in to vote.
13 Aug 2018
Shmuel Zang
This article shows how we can implement a thread-safe events (similar to .NET events) mechanism using the standard C++ library.
Please Sign up or sign in to vote.
6 Jul 2021
Piotr Grygorczuk
Enable C++11 multithreading features in GCC for FreeRTOS
Please Sign up or sign in to vote.
12 Nov 2020
Miroslav Fidler
...but I will tell you anyway.
Please Sign up or sign in to vote.
29 Jun 2017
EgorYusov
This article describes an efficient thread-safe reference counting system
Please Sign up or sign in to vote.
25 Jul 2020
Shao Voon Wong
H264/HEVC Video Encoder for recording OpenGL rendering
Please Sign up or sign in to vote.
24 Jul 2018
stevemk14ebr
PolyHook v2 - the C++17 x86/x64 library supporting multiple methods of hooking
Please Sign up or sign in to vote.
11 Jul 2012
Mikhail Semenov
keywords: constexpr, constant, constant expression, user-defined literals, GCC 4.7.0
Please Sign up or sign in to vote.
25 Feb 2018
Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
Please Sign up or sign in to vote.
13 Apr 2015
Anton Chibisov
This tutorial showcases how to implement C++ delegates which are capable of being bound to methods and functions having arbitrary signature, i.e., any number and type of parameters and return value.
Please Sign up or sign in to vote.
23 Oct 2019
David Lafreniere
A framework combining state machines with asynchronous multicast delegates
Please Sign up or sign in to vote.
30 Dec 2018
Arthur V. Ratz
In this article, we will demonstrate how to compute full SVD of a given matrix A and discuss about the code in C++11 implementing the full SVD computation by using simple iteration and Jordan-Gaussian methods.
Please Sign up or sign in to vote.
23 Mar 2021
honey the codewitch
Make your code more efficient by hacking your compiler to improve its optimization capabilities
Please Sign up or sign in to vote.
23 Oct 2015
Michael Chourdakis
A simple template for manipulating the registry
Please Sign up or sign in to vote.
30 Jan 2018
Bartlomiej Filipek
It appears that in some cases memory allocated for the object controlled by smart_ptr might not be released until all weak pointers are also ‘dead’... let's see why
Please Sign up or sign in to vote.
24 Apr 2020
Member 4201813
Jump forward/backward procedures for XorShift RNG explained step by step
Please Sign up or sign in to vote.
15 Mar 2016
Satbir S
A worker thread gives you parallel processing power
Please Sign up or sign in to vote.
23 May 2018
John M. Dlugosz
It is easier than ever to exploit the range-for loop (and make use of std algorithms) for things other than collections.
Please Sign up or sign in to vote.
14 Apr 2020
Member 4201813
Jump forward/backward procedures for XorShift RNG explained step by step
Please Sign up or sign in to vote.
17 May 2018
Shao Voon Wong
Example of making HTTP REST Request in C++
Please Sign up or sign in to vote.
14 Dec 2020
honey the codewitch
Some C++ magic to help cut down on heap abuse for simple scenarios
Please Sign up or sign in to vote.
27 Sep 2019
Alkenso
Smart queue that executes tasks in threadpool-like manner
Please Sign up or sign in to vote.
3 Jan 2020
goranorsander
A class template for specializing fundamental types
Please Sign up or sign in to vote.
7 May 2020
Arthur V. Ratz
In this article I will thoroughly discuss about the several aspects of using the revolutionary new Intel® oneAPI HPC Toolkit to deliver a modern code that implements a parallel “stable” sort
Please Sign up or sign in to vote.
12 Jun 2019
John Bandela
The problem brought to light by the article is that C++11 auto interacts badly with expression templates and proxies.
Please Sign up or sign in to vote.
10 Aug 2020
Shao Voon Wong
Optimizations that you have to make to wring the performance out of WebAssembly
Please Sign up or sign in to vote.
7 May 2020
Intel Corporation, Arthur V. Ratz
I will discuss how to deliver the modern code, using Intel C++ Compiler and OpenMP 4.5 library, that implements the parallel "stable" three-way quicksort, based on the parallel code that has already been discussed in the previous article.
Please Sign up or sign in to vote.
3 Mar 2019
MehreenTahir
This article is a continuation of Programming Concurrency in C++ Part 1. We will discuss synchronization, future and promises along with async and with that, will sum up the introduction of concurrency in C++.
Please Sign up or sign in to vote.
17 May 2016
stevemk14ebr
A modern, universal, c++ hooking library.
Please Sign up or sign in to vote.
13 Dec 2018
Michael Chourdakis
A mutex with shared/exclusive access with upgrade/downgrade capability
Please Sign up or sign in to vote.
31 Aug 2012
Mikhail Semenov
keywords: user-defined literals , templates, constant expressions, recursive functions
Please Sign up or sign in to vote.
9 Dec 2016
Arthur V. Ratz
In this article, we'll demonstrate an approach the allows to increase the performance (up to 600%) of the code that implements the conventional distribution counting algorithm (DCA) using NVIDIA CUDA 8.0 Runtime API
Please Sign up or sign in to vote.
28 Mar 2018
Paulo Zemek
A beginner article about how to write a simple list class in C# and in C++
Please Sign up or sign in to vote.
20 Jun 2013
DigitalInBlue
This article discusses the implementation and use of a fast alternative to dynamic_cast, Priori.
Please Sign up or sign in to vote.
1 Aug 2019
Michael Haephrati
A tiny Command Line Interface wrapped with a Graphic User Interface
Please Sign up or sign in to vote.
6 Dec 2015
Michael Chourdakis
Load an EXE file as a DLL in another EXE and execute the functions
Please Sign up or sign in to vote.
3 Nov 2012
Marius Bancila
An introduction to cpplinq, a open-source template library that provides LINQ-like operators for querying collections (arrays and STL containers) in C++11.
Please Sign up or sign in to vote.
24 May 2017
john morrison leon
Type quantities according to the units in which they are measured. A complete implementation of units of measurement as a data type for C++ 11.
Please Sign up or sign in to vote.
16 Jun 2019
Michael Chourdakis
Create dynamic multidimensional arrays in place
Please Sign up or sign in to vote.
27 May 2013
Marius Bancila
This article is a walk-through the C++11 support for threads and synchronization mechanisms (mutexes and condition variables).
Please Sign up or sign in to vote.
30 Mar 2021
AlexeyAB
Smart pointer that makes any object thread-safe for any operations, with the performance equal to that of optimized lock-free containers
Please Sign up or sign in to vote.
3 Jan 2015
Mikhail Semenov
This article covers algorithms and implementations for sparse sets of integers, including the benchmark results.
Please Sign up or sign in to vote.
24 May 2013
Mikhail Semenov
This is an alternative for "Member Function Pointers and the Fastest Possible C++ Delegates"
Please Sign up or sign in to vote.
5 May 2015
Mikhail Semenov
Essential features in Visual C++ 11 and GCC 4.7.0: move, rvalue references, prvalues, xvalues, perfect forwarding.
Please Sign up or sign in to vote.
19 Mar 2013
Igor Stanic
Extending boost::filesystem for Windows and Linux.
Please Sign up or sign in to vote.
25 Jul 2014
Nish Nishant
The article goes through sevean language and IDE features in the VS 14 CTP 2 that are specific to C++ development
Please Sign up or sign in to vote.
4 Nov 2018
Michael Chourdakis
A ready to be used hotpatching library with five methods!
Please Sign up or sign in to vote.
5 Jan 2018
Michael Chourdakis
The most appealing (to me!) new C++ features.
Please Sign up or sign in to vote.
4 Sep 2011
Kirill Osipov
A step-by-step illustration of a minimalistic pattern for implementing a series of COM interfaces with little code
Please Sign up or sign in to vote.
19 Mar 2014
KjellKod.cc
Don't let slow disk access bog your logger down. By using the g2log asynchronous logger you will remove the wait bottlenecks while it has the reliability of a *traditional* logging library.
Please Sign up or sign in to vote.
8 Dec 2018
CalicoSkies
Mixing audio from multiple WAV files to a single WAV file. Includes a C++ class for reading and writing WAV audio files, derived from an AudioFile class for future support of other audio file formats.
Please Sign up or sign in to vote.
23 Apr 2016
Florian Rappl
In this article we look behind the development of a Top 500 listed highly-efficient supercomputer: the QPACE 2.
Please Sign up or sign in to vote.
30 Dec 2014
Babu_Abdulsalam
Various features supporting Concurrency in C++11
Please Sign up or sign in to vote.
3 Sep 2018
Michael Chourdakis
The update to my beloved library. Single-header file.
Please Sign up or sign in to vote.
21 Sep 2019
Lakamraju Raghuram
A glance at the C++11 Standard, covering features supported in VS2010
Please Sign up or sign in to vote.
26 Jul 2012
headmyshoulder, Denis Demidov
This article shows how ordinary differential equations can be solved with OpenCL. In detail it shows how odeint - a C++ library for ordinary differential equations - can be adapted to work with VexCL - a library for OpenCL. The resulting performance is studied on two examples.
Please Sign up or sign in to vote.
16 Jan 2013
Ajay Vijayvargiya
Covering the nitty-gritties of C++ templates.
Please Sign up or sign in to vote.
6 May 2020
Arthur V. Ratz
In this article, I’d like to introduce the modern code in C++11, implementing the parallel three-way quicksort, which is asymptotically faster and more efficient than the famous heapsort and mergesort algorithms.
Please Sign up or sign in to vote.
31 Jul 2014
Michael Gazonda
A Fundamental Lock-Free Building Block - The Lock-Free Stack
Please Sign up or sign in to vote.
30 Jul 2019
Shao Voon Wong
Run your C++ Graphics on the Desktop and Web
Please Sign up or sign in to vote.
12 Apr 2016
Shao Voon Wong
Debug Print using C++11 Variadic Template
Please Sign up or sign in to vote.
16 Dec 2014
Bartlomiej Filipek
Several examples of beautiful code made up of algorithms from the C++ standard library. Heavily uses modern C++.
Please Sign up or sign in to vote.
15 Feb 2016
Alasdair Craig
Common ways that code gets duplicated, and techniques for avoiding or refactoring the duplication
Please Sign up or sign in to vote.
21 Aug 2012
KjellKod.cc
Most programming resources are wrong when comparing linked-list to vector. Here you can read and understand how they are wrong and why linked-list is (mostly) to be avoided.
Please Sign up or sign in to vote.
10 Oct 2019
10xlearner
This is a post about my first open source contribution.
Please Sign up or sign in to vote.
31 Dec 2014
KjellKod.cc
How to make a wait-free, lock-free CircularFifo using C++11.
Please Sign up or sign in to vote.
22 Sep 2019
Rodrigo Cesar de Freitas Dias
Introducing WinLamb, a modern C++11 object-oriented library to write native Windows programs
Please Sign up or sign in to vote.
15 Jul 2015
Michael Chourdakis
Smart pointers for some Windows handles
Please Sign up or sign in to vote.
2 Jun 2013
Mikhail Semenov
The article shows the techniques for defining pass-through methods
Please Sign up or sign in to vote.
27 Aug 2014
Bartlomiej Filipek
Several issues related to smart pointers that are worth knowing.
Please Sign up or sign in to vote.
28 Mar 2013
John Bandela
Describes a build of leveldb for windows that works in both g++ and visual c++ using the same dll
Please Sign up or sign in to vote.
21 Jul 2013
Nish Nishant
This is a quick overview of ISO C++ 11 compiler features that are supported in VC++ 2013 Preview
Please Sign up or sign in to vote.
18 Jan 2015
Mikhail Semenov
This article covers algorithms and implementations for maps with integers, contains benchmark results
Please Sign up or sign in to vote.
28 Dec 2014
Michael Gazonda
Have you ever been working with templates or constexpr and wanted to run a loop? Or maybe you have a loop you'd like to unroll and see if your program will run faster? Welcome to static_for.
Please Sign up or sign in to vote.
20 Aug 2014
Evgeny Zavalkovsky
Multi-reader lock that provides real readers' lock-free and wait-free concurency on multi core systems.
Please Sign up or sign in to vote.
15 Apr 2019
Michael Chourdakis
Use Windows new ThreadPool through a single C++ 11 class.
Please Sign up or sign in to vote.
17 Jun 2018
Lakamraju Raghuram
A glance at the C++11 Standard, covering features supported in VS2010. This is the next part of this series.
Please Sign up or sign in to vote.
1 Mar 2016
Evgeny Zavalkovsky
`Memoization' of a computation result makes computation faster by trading space for time. Here you will see extremely simple and "easy to use" Memoization Infrastructure.
Please Sign up or sign in to vote.
21 Nov 2016
onqtam
The article consists of an introduction to the testing framework, motivation behind it's creation (what makes it unique) and a few important points about it's capabilities.
Please Sign up or sign in to vote.
16 Jan 2012
And Baxter
In the case that you need to store and pass lambdas around but can't use std::function, here's an alternative.
Please Sign up or sign in to vote.
4 Jan 2018
john morrison leon
Class method emulation for plain arrays plus unified handling of plain arrays, std::arrays and std::vectors
Please Sign up or sign in to vote.
23 Mar 2015
Mikhail Semenov
This articles proposes an implementation of a collection of constructs for writing loops in C++11, as an alternative to the standard C-style for-loop.
Please Sign up or sign in to vote.
23 Jun 2019
PJ Arends
An MFC CWnd derived grid of user definable tiles
Please Sign up or sign in to vote.
13 Sep 2020
David Lafreniere
Create a worker thread with an event loop, message queue and a timer using the C++11 thread support library
Please Sign up or sign in to vote.
18 Sep 2015
john morrison leon
observer_ptr, a smart observer guaranteed to always be either valid or test as null. Transparently harnessing unique_ptr's custom deleter feature to detect object destruction.
Please Sign up or sign in to vote.
23 Sep 2015
Shvetsov Evgeniy
Safe and versatile iterator for user types
Please Sign up or sign in to vote.
16 Dec 2018
MehreenTahir
This article will help you get started with concurrency and will also introduce you to the features C++ has to support concurrent programming.
Please Sign up or sign in to vote.
28 Jun 2019
Shao Voon Wong
How to bring your C++ code to the web
Please Sign up or sign in to vote.
2 Sep 2011
Alexander Bessonov
A simple high-level IPC library with ability to use native C++ interfaces.
Please Sign up or sign in to vote.
15 Nov 2011
Gast128
Worker thread example with std or Boost threads and C++.
Please Sign up or sign in to vote.
2 Feb 2016
Md. Samiul Hoque
intros_ptree: A library that lets you populate your structure or class from XML file (or json or ini file) automatically, and vice versa
Please Sign up or sign in to vote.
9 Feb 2020
Michael Chourdakis
Copy your objects only when needed
Please Sign up or sign in to vote.
10 Jun 2014
Evgeny Zavalkovsky
SW Message Bus represents message flow abstraction mechanism in a complex, multithreaded SW system.
Please Sign up or sign in to vote.
24 Apr 2016
Michael Chourdakis
A class to implement a reverse semaphore
Please Sign up or sign in to vote.
27 Apr 2014
Mikhail Semenov
Problems with the one definition rule; examples of how to use constant expressions in inline functions.
Please Sign up or sign in to vote.
28 Jun 2016
Mohamed Kalmoua
This article describes how to create a UWP application that uses a Window Runtime Component.
Please Sign up or sign in to vote.
14 Dec 2020
honey the codewitch
Some C++ magic to help cut down on heap abuse for simple scenarios
Please Sign up or sign in to vote.
27 Sep 2019
Alkenso
Smart queue that executes tasks in threadpool-like manner
Please Sign up or sign in to vote.
3 Jan 2020
goranorsander
A class template for specializing fundamental types
Please Sign up or sign in to vote.
7 May 2020
Arthur V. Ratz
In this article I will thoroughly discuss about the several aspects of using the revolutionary new Intel® oneAPI HPC Toolkit to deliver a modern code that implements a parallel “stable” sort
Please Sign up or sign in to vote.
12 Jun 2019
John Bandela
The problem brought to light by the article is that C++11 auto interacts badly with expression templates and proxies.
Please Sign up or sign in to vote.
10 Aug 2020
Shao Voon Wong
Optimizations that you have to make to wring the performance out of WebAssembly
Please Sign up or sign in to vote.
7 May 2020
Intel Corporation, Arthur V. Ratz
I will discuss how to deliver the modern code, using Intel C++ Compiler and OpenMP 4.5 library, that implements the parallel "stable" three-way quicksort, based on the parallel code that has already been discussed in the previous article.
Please Sign up or sign in to vote.
3 Mar 2019
MehreenTahir
This article is a continuation of Programming Concurrency in C++ Part 1. We will discuss synchronization, future and promises along with async and with that, will sum up the introduction of concurrency in C++.
Please Sign up or sign in to vote.
17 May 2016
stevemk14ebr
A modern, universal, c++ hooking library.
Please Sign up or sign in to vote.
13 Dec 2018
Michael Chourdakis
A mutex with shared/exclusive access with upgrade/downgrade capability
Please Sign up or sign in to vote.
31 Aug 2012
Mikhail Semenov
keywords: user-defined literals , templates, constant expressions, recursive functions
Please Sign up or sign in to vote.
9 Dec 2016
Arthur V. Ratz
In this article, we'll demonstrate an approach the allows to increase the performance (up to 600%) of the code that implements the conventional distribution counting algorithm (DCA) using NVIDIA CUDA 8.0 Runtime API
Please Sign up or sign in to vote.
28 Mar 2018
Paulo Zemek
A beginner article about how to write a simple list class in C# and in C++
Please Sign up or sign in to vote.
20 Jun 2013
DigitalInBlue
This article discusses the implementation and use of a fast alternative to dynamic_cast, Priori.
Please Sign up or sign in to vote.
1 Aug 2019
Michael Haephrati
A tiny Command Line Interface wrapped with a Graphic User Interface
Please Sign up or sign in to vote.
6 Dec 2015
Michael Chourdakis
Load an EXE file as a DLL in another EXE and execute the functions
Please Sign up or sign in to vote.
3 Nov 2012
Marius Bancila
An introduction to cpplinq, a open-source template library that provides LINQ-like operators for querying collections (arrays and STL containers) in C++11.
Please Sign up or sign in to vote.
24 May 2017
john morrison leon
Type quantities according to the units in which they are measured. A complete implementation of units of measurement as a data type for C++ 11.
Please Sign up or sign in to vote.
16 Jun 2019
Michael Chourdakis
Create dynamic multidimensional arrays in place
Please Sign up or sign in to vote.
27 May 2013
Marius Bancila
This article is a walk-through the C++11 support for threads and synchronization mechanisms (mutexes and condition variables).
Please Sign up or sign in to vote.
30 Mar 2021
AlexeyAB
Smart pointer that makes any object thread-safe for any operations, with the performance equal to that of optimized lock-free containers
Please Sign up or sign in to vote.
3 Jan 2015
Mikhail Semenov
This article covers algorithms and implementations for sparse sets of integers, including the benchmark results.
Please Sign up or sign in to vote.
24 May 2013
Mikhail Semenov
This is an alternative for "Member Function Pointers and the Fastest Possible C++ Delegates"
Please Sign up or sign in to vote.
5 May 2015
Mikhail Semenov
Essential features in Visual C++ 11 and GCC 4.7.0: move, rvalue references, prvalues, xvalues, perfect forwarding.