C++ in 2015
My yearly overview on the things that might come:
C++ in 2015
by Jens Weller
From the article:
The year is still young, so lets have an outlook about what is going to happen in C++ Land in 2015...
November 14-16, Berlin, Germany
November 18-23, Wrocław, Poland
November 25, Wrocław, Poland
February 10-15, Hagenberg, Austria
March 19-21, Madrid, Spain
April 1-4, Bristol, UK
June 16-21, Sofia, Bulgaria
By Meeting C++ | Jan 15, 2015 07:32 AM | Tags: community c++14 basics
My yearly overview on the things that might come:
C++ in 2015
by Jens Weller
From the article:
The year is still young, so lets have an outlook about what is going to happen in C++ Land in 2015...
By Meeting C++ | Jan 15, 2015 03:39 AM | Tags: performance parallelism intermediate efficiency concurrency advanced
A new video from Meeting C++ 2014:
The C++ Memory Model
by Valentin Ziegler
From the talk description:
The C++ memory model defines how multiple threads interact with memory and shared data, enabling developers to reason about concurrent code in a platform independent way. The talk will explain multi-threaded executions and data races in C++...
By Mantosh Kumar | Jan 14, 2015 06:58 PM | Tags: None
Discussion on how to use/replace auto for loop index variables.
Reader Q&A: auto and for loop index variables
by Herb Sutter
From the reader's question:
So I’ve been reading all I can about c++11/c++14 and beyond when time permits. I like auto, I really do, I believe in it. I have a small problem I’m trying to decide what to do about. So in old legacy code we have things like this:
for (int i = 0; i < someObject.size(); i++) { … }
By Mantosh Kumar | Jan 14, 2015 06:47 PM | Tags: None
Another modern C++ compiler released by IBM, based on a modern foundation:
New C/C++ compiler for Linux on z Systems
Today, IBM announced a brand new C/C++ compiler for Linux on z Systems. Built on top of the advanced optimization technology already in use by the Java and Enterprise COBOL compilers, the XL C/C++ for Linux on z Systems compiler generate highly optimized code to significantly improve runtime performance of applications. It leverages the Clang open source infrastructure for a portion of the compiler front end resulting in a high level of source compatibility with GCC and includes partial support of the latest C11 and C++11 language standards. In addition, the XL C/C++ for Linux on z Systems is able to exploit the new z13 hardware announced today through the use of the qarch and qtune suboptions. High performance mathematics libraries, MASS (Mathematical Acceleration Subsystem) and ATLAS (Automatically Tuned Linear Algebra Software) will also be packaged with the compiler and made available for the first time on zLinux.
The XL C/C++ for Linux on z Systems V1.1 runs on RHEL 6, RHEL 7, SLES 11, and SLES 12 and will become generally available on February 16, 2015. For more information on this new compiler, visit the XL C/C++ for Linux on z Systems product page.
By Adrien Hamelin | Jan 14, 2015 03:26 PM | Tags: intermediate c++11
Sasha Goldshtein begins to show us how to implement the basis of a useful tool from the STL: the tuple.
Implementing std::tuple From The Ground Up – Part 1
by Sasha Goldshtein
From the article:
std::tuple is a very nice facility originally introduced in C++ TR1. It is a heterogenous container of elements that has a statically known size. In C++ 11, std::tuple can be implemented using variadic templates; a single std::tuple class can support an arbitrary number of template type arguments. In this series of blog posts we will implement std::tuple from first principles. The purpose of this exercise is not to provide the best-performing or most-conformant tuple implementation, but rather to see what foundational concepts are required to implement it...
By Blog Staff | Jan 14, 2015 11:37 AM | Tags: None
Toward using a more modern C++ compiler:
Raspberry Pi -- Install GCC 4.9 and compile C++14 programs
by Sol
From the article:
... I will show you next how to install only GCC 4.9 and his dependencies from Jessie and keep Wheezy as the default source for all the other packages. I’ve tested the next steps on a Raspberry Pi revision B+, but it should work on older models too...
By Blog Staff | Jan 14, 2015 10:33 AM | Tags: intermediate
Quick A: Inherit from enable_shared_from_this
.
Recently on SO:
Cast 'this' to std::shared_ptr
I have a method on a class to make a particular instance an "active" instance:
void makeActive() { activeInstance = this; }However it doesn't work since
activeInstance
has typestd::shared_ptr< ClassName >
. How can I cast this tostd::shared_ptr<ClassName>
?
By Blog Staff | Jan 14, 2015 10:24 AM | Tags: None
Slides are now available from last month's Belgian C++ user group meeting:
Slides of the 17th of December 2014 BeCPP Meeting
by Marc Gregoire
There were two talks -- kudos for the pun in the second talk title:
By marshall | Jan 14, 2015 08:00 AM | Tags: cppnow c++14 c++11 boostcon boost advanced
I am happy to announce that registration for C++Now 2015 is now open.
The conference will be held May 11 – 16, 2015 in Aspen, Colorado at the Aspen Center for Physics.
Space is limited (the conference sold out last year).
Conference: http://cppnow.org
Registration: https://www.eventbrite.com/e/cnow-2015-tickets-14254713231
By Meeting C++ | Jan 14, 2015 02:35 AM | Tags: templates intermediate experimental c++14 c++11 advanced
A new video from Meeting C++ 2014 is uploaded:
Pruning Error Messages From C++ Template Code
by Roland Bock
From the talk description:
Many template libraries are regarded with ambivalent feelings by developers: On the one hand, such libraries can offer wonderful functionality. On the other hand, they are dreaded for the sheer amount of error messages spilled out...