Wednesday, January 25, 2023

c++ Argument-Dependent Lookup and the Hidden Friend Idiom

 

Making C++ primitive types meaningfully movable when they have sentinel values

by Raymond Chen

From the article:

C++ primitive types do not have special semantics for move constructor or move assignment. Their move operations are just copies. But what if you really want them to move, say, because they have a sentinel value that represents an “empty” state…?

PVS-Studio in 2022

It’s January 2023, which means it’s time to look back at our achievements in 2022. In this article, we’ll tell you what we accomplished and show you what features appeared in PVS-Studio in 2022. Let’s go.

PVS-Studio in 2022

by Polina Alekseeva

From the article:

Speaking of cross-platform. As of now, the analyzer runs on Windows, Linux, and macOS on the x86_64 architecture. It is currently impossible to run the analyzer natively on the same operating systems under ARM (except for C and C++ analyzer on ARM-based macOS: you can run it via Rosetta). We’re wondering if there are many people among our readers who want to natively use the analyzer on ARM. How critical is the build and analysis of projects on the ARM architecture for you?

ACCU 2023 Registration is open – ACCU

The registration for the upcoming ACCU 2023 conference from 2023-04-19 to 2023-04-22 has opened.

ACCU 2023 Registration is open

by ACCU

About the conference

Again we had the opportunity to assemble a great schedule by speakers from the community who want to share their experience!

Our this years keynote speakers are Björn Fahller, Dave Abrahams, Gail Ollis and Stephanie Brenham.

We have two days with full-day workshops before the conference by Mateusz Pusz, Mike Shah, Nico Josuttis, Peter Sommerlad and Vladimir Vishnevskii.

Again Gail Ollis will give an Early Career Day in colaboration with Chris Oldwood, Giovanni Asproni, Jez Higgins, Jon Skeet, Kevlin Henney and Roger Orr for a reduced fee.

Early bird rates apply until 23.59 GMT on Tuesday 28th February 2023.

 

Writing Functors with Boost.Lambda2 – Richard Thomson

Utah C++ Programmers has released a new video:

Writing Functors with Boost.Lambda2

by Richard Thomson

From the video description:

Lots of standard algorithms require some sort of ‘functor’ or ‘function object’ in order to apply predicates and transforming functions to values. This makes the algorithms generic, but requires you to write your own function object classes or lambda functions, which can get a little noisy in the syntax.

Boost.Lambda2 is a library that allows you write lambda functions that look like simple expressions with placeholders for the arguments.

This month, Richard Thomson will give us a breakdown of the Lambda2 library in Boost that makes writing function objects simple and readable. We’ll see how to use them with common standard algorithms before looking a little more deeply into how this library is implemented.

https://www.youtube.com/watch?v=3605p3oRwxY

Partial function application – Rainer Grimm

 

No comments:

Post a Comment