Using C++20 three way comparison - Jonathan Müller - Meeting C++ 2019
A new video from Meeting C++ 2019
Using C++20 three way comparison
by Jonathan Müller
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
By Andrey Karpov | Dec 19, 2019 07:47 AM | Tags: pvs-studio open source bugs
Another year is drawing to an end, and it's a perfect time to make yourself a cup of coffee and reread the reviews of bugs collected across open-source projects over this year.
Top 10 Bugs Found in C++ Projects in 2019
by Maxim Zvyagintsev
From the article:
float yScale = 1.0 / tan((3.141592538 / 180.0) * fov / 2);
There's a tiny typo in the Pi number (3,141592653...): the number "6" is missing at the 7th decimal place.
By Adrien Hamelin | Dec 18, 2019 01:17 PM | Tags: experimental
The series continue.
C++ coroutines: Short-circuiting suspension, part 2
by Raymond Chen
From the article:
There’s one last section of the outline of compiler code generation for co_await that is marked “We’re not ready to talk about this step yet.” Let’s talk about that step.
By Adrien Hamelin | Dec 18, 2019 01:13 PM | Tags: experimental
The series continue.
C++ coroutines: Short-circuiting suspension, part 1
by Raymond Chen
From the article:
At the start of this series, I gave the basic idea for how the compiler generates code for co_await, but I left out some details for expository simplicity. There are some mysterious steps called “We’re not ready to talk about this step yet.”
Now it’s time to talk about one of those steps...
By Meeting C++ | Dec 18, 2019 02:14 AM | Tags: meetingcpp intermediate efficiency basics advanced
A new talk from Meeting C++ 2019
Phantastic Code Smells and where to find them
by Arne Mertz
By willw | Dec 17, 2019 12:16 AM | Tags: None
A meta-programming challenge in compound type destructuring
The Modern C++ type CoDec Challenge
by Will Wray
From the article:
(Assumes intermediate to advanced level C++ with some meta skills.)
Find the most effective, modern way to:
- Decompose a compound type then
- Represent its structure and traverse it
...
What is it?
A challenge in the spirit of Herb's GotW running ∓20 days over NY 2020:
20 days of Modern C++ ranging from 'retro' TMP to latest C++2a features,
20 days of Post Modern C++ looking ahead to an era of static reflection.
- A personal challenge to learn about types, introspection and meta coding
- A community challenge towards effective methods of type decomposition
...
(Let the egg hunt
begin()
)
By Adi | Dec 17, 2019 12:15 AM | Tags: None
An introductions to creating generators with coroutines.
Brain Unrolling
by Adi Shavit
From the article:
This is a motivational and introductory post about generators. It focuses on how to write generators and generator ranges from a coroutine user point of view.
By Ansel Sermersheim | Dec 17, 2019 12:14 AM | Tags: None
New video on the CopperSpice YouTube Channel:
CsPaint - Rendering text on the GPU
by Barbara Geller and Ansel Sermersheim
About the video:
In this video, we take a deeper look at the CsPaint library and the tools it provides for rendering text as graphics on the GPU. We also discuss the technique we use for efficient, high quality infinitely scalable text rendering.
Please take a look and remember to subscribe!
By Milad Kahsari Alhadi | Dec 17, 2019 12:13 AM | Tags: intermediate
All you need to know:
Substitution Failure is Error and Not An Error
by Milad Kahsari Alhadi
From article:
I decided to write an article about the Substitution Failure issue when you write generic programs with c++ for those people who are looking for a clear and step by step introduction about it (without making everything complicated). In this article you will learn what will happen when you call a template function.
By Adrien Hamelin | Dec 16, 2019 11:27 AM | Tags: experimental
The series continue.
C++ coroutines: Constructible awaitable or function returning awaitable?
By Raymond Chen
From the article:
Last time, we learned how to create simple awaitable objects by creating a structure that implements the await_suspend method (and relies on suspend_always to do the coroutine paperwork for us). We can then construct the awaitable object and then co_await on it...