Template meta-programming: Why you must get it - Manuel Sánchez - @meetingcpp 2015
A new video from Meeting C++ 2015:
Template meta-programming: Why you must get it
by Manuel Sánchez
By Meeting C++ | Feb 1, 2016 10:33 AM | Tags: intermediate experimental c++11 basics
A new video from Meeting C++ 2015:
Template meta-programming: Why you must get it
by Manuel Sánchez
By Meeting C++ | Feb 1, 2016 06:51 AM | Tags: user groups community
The monthly listing of upcoming C++ User Group meetings at Meeting C++:
C++ User Group Meetings in February
by Jens Weller
From the article
The monthly overview on the upcoming C++ User Group meetings! In the shortest month of the year there are still 21 C++ User Groups which are meeting!
There are 7 new C++ User Groups: Sofia, Ho Chi Minh, Iasi, Noida, Macedonia, Buenos Aires, Stuttgart / Ludwigsburg (Qt).
By Adrien Hamelin | Feb 1, 2016 01:08 AM | Tags: intermediate
Constructing or not constructing, that is the question.
Constructor Failures
by Arne Mertz
From the article:
Sometimes we fail to acquire a needed resource or responsibility during the construction of an object. Sometimes the construction of a subobject fails. How can we deal with an incompletely constructed object?
By iterator | Jan 31, 2016 11:52 PM | Tags: None
An analysis and exploration of partition and remove algorithms. By combining aspects of these two, we rediscover useful algorithms that the Standard Library doesn't have.
Experiments in partition and remove
by Brent Friedman
From the article:
The C++ Standard Library exposes dozens of powerful algorithms for use in everyday software. Two of these algorithms, partition and remove_if, provide similar functionality for segregating data. If we dig carefully into implementations of these algorithms, a certain symmetry is exposed. This exploration will lead us to the discovery of useful algorithms that we can employ in our daily engineering work.
This article demonstrates particular algorithm implementations — but it is important to remember that the source code will vary between different implementations of the standard library, and can differ based on what sort of data you pass in.
By Blog Staff | Jan 31, 2016 11:07 AM | Tags: None
New WG21 papers are available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: P0188R0
Date: 2016-01-03
Wording for [[fallthrough]] attribute
by Andrew Tomazos
Abstract:
Wording for the [[fallthrough]] attribute described in P0068R0 is proposed for application to the C++17 working draft. [[fallthrough]] captures an intent to use the feature of “falling-through” from one case block to the next, in a switch statement. It has heavy use in existing practice. Kona EWG voted SF=15, F=5, N=0, A=0, SA=0 in favor of [[fallthrough]] from P0068R0. See P0068R0 for detailed motivation/rationale.
By Blog Staff | Jan 31, 2016 11:02 AM | Tags: None
New WG21 papers are available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: P0187R0
Date: 2015-11-20
P0187R0: Proposal of Bitfield Default Member Initializers
by Andrew Tomazos
Abstract:
We propose default member initializers for bitfields. Example:
struct S { int x : 6 = 42; };To ease parsing we specify a rule, roughly summarized as “you have to use =, and = always starts the initializer”.
By Blog Staff | Jan 31, 2016 09:35 AM | Tags: None
A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: P0212R0
Date: 2016-01-31
Wording for [[maybe_unused]] attribute
by Andrew Tomazos
Excerpt:
A wording for the [[maybe_unused]] attribute is proposed for application to the C++17 Working Draft. The semantics of [[maybe_unused]] are the same as those described for [[unused]] in P0068R0 and presented to Kona EWG. Kona EWG voted SF=5, F=11, N=2, A=0, SA=0 in favor of the attribute.
See P0068R0 for detailed motivation/rationale.
By Meeting C++ | Jan 31, 2016 08:47 AM | Tags: performance parallelism intermediate coroutines c++17
A new video from Meeting C++ 2015:
An Introduction to C++ Coroutines
by James McNellis
By Blog Staff | Jan 29, 2016 08:31 AM | Tags: None
A new WG21 paper is available. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: P0207R0
Date: 2016-01-28
Ruminations on lambda captures
by Ville Voutilainen
Excerpt:
The proposal for capturing *this by value (P0018) raised suggestions for a "true value capture", which led to suggestions to change capture-default that defaults to by-value capture([=]) in the case of capturing class members. This paper explores what the suggested changes to the capture-default might mean. This paper specifically doesn't try to claim that any of the changes would have an effect on any particular amount of existing code, and admits that the examples in this paper are somewhat concocted and for illustrative purposes only.
By robwirving | Jan 29, 2016 08:26 AM | Tags: None
Episode 43 of CppCast the only podcast for C++ developers by C++ developers. In this episode Rob and Jason are joined by Matt Godbolt to discuss the online Compiler Explorer project.
CppCast Episode 43: Compiler Explorer with Matt Godbolt
by Rob Irving and Jason Turner
About the interviewee:
Matt is a developer at trading firm DRW. Before that he's worked at Google, run a C++ tools company, and spent over a decade in the games industry making PC and console games. He is fascinated by performance and created GCC Explorer, to help understand how C++ code ends up looking to the processor. When not performance tuning C++ code he enjoys writing emulators for 8-bit computers in Javascript.