In a nutshell: Rarely known C++ constructs (part 1), Function try blocks -- Tamás Szelei
Do you remember this C++ feature? It's especially (mostly) useful on constructors.
Rarely known C++ constructs (part 1): Function try blocks
by Tamás Szelei
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 3-8, Kona, HI, USA
By Blog Staff | Feb 21, 2014 10:23 AM | Tags: intermediate
Do you remember this C++ feature? It's especially (mostly) useful on constructors.
Rarely known C++ constructs (part 1): Function try blocks
by Tamás Szelei
By Blog Staff | Feb 21, 2014 09:14 AM | Tags: basics
As the community continues to absorb the new modern C++ features, we'd like to share this brief and accessible overview:
What you should know about C++11: Part 1, Part 2, Part 3
by Bartlomiej Filipek
By Meeting C++ | Feb 20, 2014 06:54 AM | Tags: ranges intermediate experimental c++11 boost advanced
The second part of Eric Nieblers Series about ranges:
Range Concepts, Part 2 of 4: Infinite Ranges
By Eric Niebler
From the Article:
In the last post, I tried to make delimited ranges fit into the STL and found the result unsatisfying. This time around I’ll be trying the same thing with infinite ranges and will sadly be reaching the same conclusion. But the exercise will point the way toward an uber-Range concept that will subsume delimited ranges, infinite ranges, and STL-ish pair-o’-iterator ranges.
By Meeting C++ | Feb 17, 2014 01:02 PM | Tags: ranges intermediate experimental efficiency advanced
The start on a series about ranges from Eric Niebler:
Range Concepts, Part 1 of 4: Delimited Ranges
By Eric Niebler
From the Article:
I’ve been digging into ranges recently, and I’m finding them to be more than just a pair of iterators. In a series of posts, I’ll be expanding the notion of what a range is to cover some kinds of ranges not easily or efficiently expressible within the STL today: delimited ranges and infinite ranges. This post deals with the problems of representing delimited ranges with STL iterators.
By Blog Staff | Feb 13, 2014 12:17 PM | Tags: intermediate
Can you spot the bug?
Find the Bug
by Andrzej Krzemieński
From the article:
Today, let's take a short test. Find what is likely to be a bug in the following code and suggest how to fix it.
void Catalogue::populate(vector<string> const& names) { vec_.clear(); vec_.resize(names.size()); for (size_t i = 0; i < names.size(); ++i) vec_[i] = make_unique<Entry>(names[i]); }
By Meeting C++ | Feb 12, 2014 12:51 PM | Tags: undefined behavior standardization numerics networking library issaquah intermediate graphics experimental c++14 advanced
This is the last part in the series for Issaquah, and its the most diverse:
C++ Papers for Issaquah - Library, Graphics, Networking, Numerics & Undefined Behavior
by Jens Weller
From the Article:
The 4th and last part about the C++ Papers for Issaquah. I already covered the first batch of proposals from the Library subgroup in the previous part, now its all about papers from Library, Graphics, Networking, Numerics and Undefined Behavior. A very diverse part.
By Meeting C++ | Feb 11, 2014 03:58 AM | Tags: standardization issaquah intermediate experimental c++14 advanced
The third part of my series about the papers for Issaquah is about the first batch of library proposals
C++ Papers for Issaquah - Library I
by Jens Weller
From the article:
The 3rd part of the C++ papers for Issaquah series will be about the library proposals. The last part covered the papers from concepts, database and evolution. There are a lot of proposals from the library group, and I think some of them are the most interesting, as they don't have any impact on the core language.
By Blog Staff | Feb 7, 2014 10:47 AM | Tags: None
Quick A: "Inplace" can deal with overlapping ranges, but will take either more space or more time.
Today on StackOverflow:
Difference between
std::mergeandstd::inplace_merge?What is the difference between
std::mergeandstd::inplace_mergein terms of complexity and result when it is executed on two consecutive ranges with elements that are all different ? (I am not a native english speaker and I am not sure to clearly understand what "inplace" means)
By Blog Staff | Feb 7, 2014 09:36 AM | Tags: intermediate
Overload 119 is now available. It contains the following C++-related articles, and more:
Adding parameters to an object can be messy. Here is a description of method chaining -- an interesting way to pass parameters into methods in a more readable fashion.
How confusing does it get when references refer to references and references are captured by value? Pete Barber shows us that it all falls out in the C++ consistency wash.
By Meeting C++ | Feb 6, 2014 04:33 PM | Tags: standardization issaquah intermediate experimental evolution database concepts advanced
This is the second part of my series about the papers for the next C++ committee meeting in Issaquah:
C++ Papers for Issaquah - Concepts, Database & Evolution
by Jens Weller
From the article:
This is the second part about the papers for the C++ committee meeting in February in Issaquah. This time featuring papers from the subgroups of concept, database and evolution. Again, most papers in this series aim for a standard after C++14, most important for C++14 will be the national comments on the new standard. Also there are no new papers from the core working group, only the active issues, defects report and closed issues report are on this mailing.