Meeting C++ 2016 announced!
I announced Meeting C++ 2016 last week, and added a few more details this week:
Announcing Meeting C++ 2016
by Jens Weller
Further reading:
Call for Papers runs until May 27th
June 16-21, Sofia, Bulgaria
September 13-19, Aurora, CO, USA
October 25, Pavia, Italy
November 6-8, Berlin, Germany
November 16-21, Kona, HI, USA
By Meeting C++ | Apr 7, 2016 03:50 AM | Tags: intermediate conference community boost basics advanced
I announced Meeting C++ 2016 last week, and added a few more details this week:
Announcing Meeting C++ 2016
by Jens Weller
Further reading:
Call for Papers runs until May 27th
By Andrey Karpov | Apr 6, 2016 05:27 AM | Tags: vulnerability security memset basics
We often need to store private data in programs, for example passwords, secret keys, and their derivatives, and we usually need to clear their traces in the memory after using them so that a potential intruder can't gain access to these data. In this article we will discuss why you can't clear private data using memset() function.
Safe Clearing of Private Data
by Roman Fomichev
From the article:
So, both gcc and clang decided to optimize our code. Since the memory is freed after calling the memset() function, the compilers treat this call as irrelevant and delete it.
By Adrien Hamelin | Mar 22, 2016 01:39 PM | Tags: c++14 basics
What is a string_span?
Guidelines Support Library Review: string_span<T>
by Marius Bancila
From the article:
In a previous post I have introduced the
span<T>
type from the Guidelines Support Library. This is a non-owning range of contiguous memory recommended to be used instead of pointers (and size counter) or standard containers (such asvector
orarray
).span<T>
can be used withstring
s, but the Guidelines Support Library provides a different span implementation for various types of strings. These string span types are available in thestring_span.h
header.
By Adrien Hamelin | Mar 22, 2016 01:31 PM | Tags: c++11 basics
Always auto
? Almost!
Aaargh! AAA – Right Good and Hygenic
by Stephen Kelly
From the article:
The idea of almost-always-
auto
has been around for a few years and has fairly divided the C++ community. The effective result is that concrete types appear rarely in code, and variables are declared as ‘auto
’ instead....
By Marco Arena | Mar 14, 2016 01:02 AM | Tags: c++14 basics
In this new post on Competitive Programming I explain some common idioms to deal with input and output:
C++ in Competitive Programming: I/O
by Marco Arena
From the article:
Very rarely I had to switch to C functions (e.g. scanf) or turn off the synchronization between C++ streams and standard C streams...
By Meeting C++ | Feb 25, 2016 08:50 AM | Tags: experimental c++17 c++ committee basics advanced
The start of a new series about the papers for the Jacksonville meeting:
Current Proposals for C++17
by Jens Weller
From the article:
There is a new batch of proposals for C++17, published for next weeks ISO C++ Committee meeting in Jacksonville, Florida. With way over 100 proposals...
By Marco Arena | Feb 22, 2016 10:05 AM | Tags: performance basics
Is RAII in C++ only possible with exceptions? Eli Bendersky clarifies the matter:
C++: RAII without exceptions
by Eli Bendersky
From the article:
this post is not about whether exceptions are good or bad. What it is about is RAII as a C++ dynamic resource management technique that stands on its own and is useful with or without exceptions. In particular, I want to explain why RAII is indeed useful even if you have exceptions disabled in your C++ code...
By Meeting C++ | Feb 18, 2016 07:51 AM | Tags: qtdev intermediate basics advanced
A follow up on an older Blog post of mine:
Revisiting QWidgets & data, refactoring and performance
by Jens Weller
From the article:
My CMS project has grown quite a bit, and there are a few places where I think I should refactor the code. One of the larger ones is that TreeItem::get<T> returns a pointer instead of a reference. Another one is related to how the Qt UI application is acting when opening a new panel in the TabControl. There used to be a noticeable delay...
By Marco Arena | Feb 15, 2016 07:16 AM | Tags: c++14 basics
I'm starting a new series about how standard algorithms and containers help in solving competitive programming challenges. Here is an introduction:
C++ in Competitive Programming: intro
by Marco Arena
From the article:
In the last two years I have turned into a Competitive Programming aficionado, mostly active on HackerRank, less on TopCoder and CodingGame...
By Meeting C++ | Feb 14, 2016 07:35 AM | Tags: ranges performance intermediate efficiency c++17 c++14 c++11 boost basics advanced
From Iterators to Ranges: The Upcoming Evolution Of the STL
by Arno Schödl