Articles & Books

Launching the Meeting C++ Community Survey

Take the Meeting C++ Community Survey!

Launching the Meeting C++ Community Survey

by Jens Weller

From the article:

One thing then often has bugged me when looking at the C++ community is that we don't really had good numbers on most things. Jetbrains, ISOCPP and Bartek's coding blog have launched surveys in the last years, which changed this a little. Also I've been doing some surveys on Twitter, giving some limited insight into C++ related topics. But Twitter surveys are very limited, and for a long time I had an idea on how to make this a continuous survey.

C++ User Group meetings in January 2020

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”

C++ Standard Version Mix-up

Libraries compiled with different C++ standard versions might not be as compatible as wanted.

C++ Standard Version Mix-up

by Christoph Cullmann

From the article:

We work with MSVC 2019 on Windows and all worked fine with LLVM 9.x, but with master, close to all my tests did now segfault in aligned_free.

Some months ago, the implementation of DenseMap got improved to use the allocate_buffer/deallocate_buffer functions to use (if possible) aligned allocation.

Unfortunately, this means, during the compilation of the library, the checks there ensure it doesn’t use these code paths, on the other side, during compilation of our tools, it does, as the allocation functions are fully inline in the header including the feature checks.

C++ coroutines: The co_await operator and the function search algorithm--Raymond Chen

The series continue.

C++ coroutines: The co_await operator and the function search algorithm

by Raymond Chen

From the article:

So you’re following along Kenny Kerr’s blog and you get to the part where he uses co_await on a time duration:

co_await 5s;

so you try it:

#include <chrono>
using namespace std::chrono;

winrt::IAsyncAction Delay10Seconds()
{
   co_await 10s;
   co_return;
}

and you get the error message

no callable ‘await_resume’ function found for type ‘Expression’ where Expression=std::chrono::seconds