How to test static_assert? - Roland Bock - Meeting C++ 2016
Next Video from Meeting C++ 2016
How to test static_assert?
by Roland Bock
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 24, 2017 06:03 AM | Tags: tmp testing experimental advanced
Next Video from Meeting C++ 2016
How to test static_assert?
by Roland Bock
By Blog Staff | Jan 23, 2017 04:08 PM | Tags: None
This new paper by Bjarne Stroustrup has been brewing over the holidays, and is now ready for release as a prepublication draft:
Concepts: The Future of Generic Programming
or, How to design good concepts and use them wellby Bjarne Stroustrup
From the draft paper:
Conclusions
Concepts complete C++ templates as originally envisioned. I don’t see them as an extension but as a completion.
Concepts are quite simple to use and define. They are surprisingly helpful in improving the quality of generic code, but their principles – and not just their language-technical details – need to be understood for effective use. In that, concepts are similar to other fundamental constructs, such as functions. Compared to unconstrained templates, there are no run-time overheads incurred by using concepts.
Concepts are carefully designed to fit into C++ and to follow C++’s design principles:
- Provide good interfaces
- Look for semantic coherence
- Don’t force the user to do what a machine does better
- Keep simple things simple
- Zero-overhead
Don’t confuse familiarity and simplicity. Don’t confuse verbosity with “easy to understand.” Try concepts! They will dramatically improve your generic programming and make the current workarounds (e.g., traits classes) and low-level techniques (e.g., enable_if – based overloading) feel like error-prone and tedious assembly programming.
By Blog Staff | Jan 23, 2017 03:58 PM | Tags: None
A new embedded C++ conference will be held next month in Germany:
emBO++: Embedded C++ Conference
Bochum, Germany
From the announcement:
Worldwide there are more than one billion devices that could be thought of as embedded systems. All of them have been programmed at least once in their lives. While most systems still run plain old C-Code, a new generation of compilers, devices and language features encourage us to use more modern C++ in the world of embedded systems.
Modern C++ allows us to express ourselves better to the compiler and the hardware than ever before. It is our task, our responsibility and our passion to create better IT infrastructure. Out of this passion the emBO++ has been instantiated. A convention for developers, technologists and C++-enthusiasts. Come and join us, and let us influence more than a billion devices!
By Adrien Hamelin | Jan 23, 2017 02:21 PM | Tags: performance intermediate
const
does not prevent (N)RVO, youhou.
Const, Move and RVO
by Bartlomiej Filipek
From the article:
C++ is a surprising language. Sometimes simple things are not that simple in practice. Last time I argued that in function bodies const should be used most of the time. But two cases were missed: when moving and when returning a value.
Does const influence move and RVO?
By Adrien Hamelin | Jan 23, 2017 02:13 PM | Tags: intermediate c++11
C++ is evolving.
Functional in C++11 and C++14: Dispatch Table and Generic Lambdas
by Rainer Grimm
From the article:
My favourite example the dispatch table shows how nice the features in modern C++ work together. A dispatch table is a table of pointers to functions. In my case, it is a table of handles to polymorphic function wrappers...
By Adrien Hamelin | Jan 23, 2017 02:07 PM | Tags: experimental
An extensive list of the future standard changes:
C++17 Features
by Bartlomiej Filipek
From the article:
In my last C++ summary (for 2016) I wrote that the draft for C++17 is the most important thing that happened. I’ve put a list of features of the new standard, and today I’d like to expand the topic so we can learn some more details.
By Meeting C++ | Jan 23, 2017 08:57 AM | Tags: performance efficiency basics
Next Video from Meeting C++ 2016:
Computer Architecture, C++, and High Performance
by Matt P. Dziubinski
By Felix Petriconi | Jan 22, 2017 09:55 AM | Tags: community
The schedule for the upcoming ACCU 2017 conference in Bristol, UK from 2017-04-26 to 2017-04-29 has been published.
ACCU 2017 Schedule
by ACCU conference committee
About the schedule
Again we have very strong C++ tracks this year!
Beside a closing keynote by Herb Sutter, where he wants to make a public announcement on an upcoming C++ development, there will be great C++ talks by members of the ISO C++ committee, other known C++ speakers and new faces to the C++ world.
Four full day tutorials take place the day before the conference, three with C++ content.
So don't forget to register.
By Meeting C++ | Jan 22, 2017 07:25 AM | Tags: performance intermediate experimental c++14 c++11 basics
Next talk from Meeting C++ 2016
Designing and Implementing a new Allocator model
by Jonathan Müller
By Meeting C++ | Jan 20, 2017 08:36 AM | Tags: robotics iot intermediate embedded c++14 c++11
Next video from Meeting C++ 2016
Learn Robotics with C++ in 1 Hour
by Jackie Kay