Move, simply--Herb Sutter
No need to get complicated.
Move, simply
by Herb Sutter
From the article:
C++ “move” semantics are simple, but they are still widely misunderstood. This post is an attempt to shed light on that situation...
June 16-21, Sofia, Bulgaria
September 13-19, Aurora, CO, USA
November 6-8, Berlin, Germany
November 16-21, Kona, HI, USA
By Adrien Hamelin | Feb 20, 2020 01:56 PM | Tags: basics
No need to get complicated.
Move, simply
by Herb Sutter
From the article:
C++ “move” semantics are simple, but they are still widely misunderstood. This post is an attempt to shed light on that situation...
By Adrien Hamelin | Feb 12, 2020 02:59 PM | Tags: basics
How do you do it?
Reverse For Loops in C++
by Carlos Buchart
From the article:
As we saw when working on dynamic bitsets, it can be useful to traverse a collection backwards, from its last element to its first one.
It would be nice to be able to use C++11 range for loops to iterate backwards. But unfortunately, there is no such reverse range-for: range-for only works forwards.
Let’s see how to traverse a collection backwards by using a range for loop...
By Adrien Hamelin | Feb 11, 2020 12:40 PM | Tags: basics
Quick A: It is possible.
Recently on SO:
Setting a vector equal to {};
It's valid (since C++11).
std::vector
has an overloaded operator= takingstd::initializer_list
.
By DaPi | Jan 18, 2020 01:48 PM | Tags: basics
Understanding the basics of the language in every detail.
Objects, their lifetimes and pointers
by Dawid Pilarski
From the article:
A detailed tour on C++ objects, what they are and how to avoid common undefined behaviors.
By Meeting C++ | Jan 8, 2020 02:40 AM | Tags: meetingcpp community basics
The monthly overview on upcoming C++ User Group meetings all over the world!
C++ User Group meetings in January 2020
by Jens Weller
From the article:
Happy new years! The year has begun, and lots of C++ User Groups have their first meeting of 2020.
Would like to start your own group or looking for ideas in running your current group? Watch my talk from CppCon:
CppCon YT - CppCon 2019: Jens Weller “Starting and Running C++ User Groups”
By Meeting C++ | Dec 24, 2019 04:52 AM | Tags: performance meetingcpp intermediate efficiency c++17 c++14 c++11 basics algorithm advanced
A new video from Meeting C++ 2019
Better Algorithm Intuition
by Conor Hoekstra
By Meeting C++ | Dec 22, 2019 01:58 PM | Tags: performance meetingcpp intermediate experimental efficiency basics advanced
A new video from Meeting C++
CPU design effects
by Jakub Beránek
By Meeting C++ | Dec 21, 2019 10:31 AM | Tags: performance multithreading meetingcpp intermediate experimental efficiency concurrency c++17 c++14 c++11 basics advanced
A new video from Meeting C++ 2019
Multithreading 101: Concurrency Primitives From Scratch
by Arvid Gerstmann
By Meeting C++ | Dec 20, 2019 11:05 AM | Tags: unicode meetingcpp intermediate experimental basics advanced
A new video from Meeting C++ 2019
Catching ⬆️: Unicode for C++ in Greater Detail
by JeanHeyd Meneide
By Meeting C++ | Dec 19, 2019 09:50 AM | Tags: meetingcpp intermediate experimental c++20 basics advanced
A new video from Meeting C++ 2019
Using C++20 three way comparison
by Jonathan Müller