June 2022

PVS-Studio challenge: can you spot an error in C++ code?

PVS-Studio team made an entertaining quiz for you. Try to quickly find a bug in a code fragment. If you spot an error - click on it.

Challenge: can you spot an error in C++ code?

by Andrey Karpov

From the article:

You'll see ten code fragments. If you manage to find an error in under 1 minute, you score one point. The 1-minute limit is made on purpose. Otherwise you'll definitely find all errors — code fragments are short. Anyway, treat this quiz as a game, and not as a real test of your programming skills smile

PVS-Studio 7.19: C++ analyzer now works better with QNX compilers and Unreal Engine 5

Recently, we have released a new PVS-Studio version — 7.19. In this note, we'll tell you about new features in the analyzer, the enhanced documentation, as well as what to read and... what to play.

PVS-Studio 7.19: what's new?

by Sergey Vasiliev

From the article:

Now, you can use PVS-Studio to analyze projects on Unreal Engine 5. For the most part, projects on UE 5 are analyzed in the same way as projects on UE 4. The difference is described in the documentation.

CppCon: Announcing CppCon Academy 2022 Classes

CppCon 2022 registration is open, and the Academy classes (aka pre- and post-conference extra tutorials) have just been announced:

Announcing CppCon Academy 2022 Classes

From the announcement:

Registration is open for almost twenty CppCon Academy classes that will be held in the days before or after CppCon 2022 in September. Four classes are open to online attendees and the rest will be offered to onsite attendees at the Gaylord Rockies in Aurora...

CppCon instructors are selected from the best C++ instructors in the world. They feature rare combinations of deep technical knowledge, extensive development experience, and the ability to explain things in an approachable manner.

Reminder: Early Bird Registration ends in mid-July, so register now!

Summary list of classes for 2022:

  • C++20 in Practice: A Complete Introduction with Nicolai Josuttis (onsite, pre)
  • C++ Templates for Developers with Walter E. Brown (onsite, post)
  • Getting Started with C++20/23 with Jeff Garland (onsite, post)
  • Introduction to C++20 with Mateusz Pusz (onsite, pre & post – four-days)
  • Modern C++: When Efficiency Matters with Andreas Fertig (online, pre)
  • Programming with C++20 with Andreas Fertig (online, post)
  • Accelerated TDD: For More Productive C++ with Phil Nash (onsite, pre)
  • Advanced Modern C++ Programming: The Tricky Parts with Nicolai Josuttis (online, post)
  • Best Practices for Modern C++ with Rainer Grimm (onsite, pre)
  • Digging Deeper With C++ Best Practices with Jason Turner (onsite, pre)
  • Managing Memory with Patrice Roy (onsite, post)
  • Thinking Small with Patrice Roy (onsite, pre)
  • Modern C++ Design Patterns with Klaus Iglberger (onsite, pre)
  • System Architecture And Design Using Modern C++ with Charley Bay (online, pre)
  • Heterogeneous Programming in Modern C++ with SYCL with Gordon Brown, James Reinders, Michael Wong, Rod Burns, and Ronan Keryell (onsite, post)
  • More Concurrent Thinking in C++: Beyond the Basics with Anthony Williams (onsite, pre)
  • Performance and Efficiency in C++ for Experts, Future Experts, and Everyone Else with Fedor Pikus (onsite, post)

CppCon 2022 Registration is Open

Tickets for September are now on sale! This year's conference will again be fully hybrid, on-site in Colorado and on-line around the world, coordinated together.

CppCon 2022 Registration is Open

Highlights from the announcement:

Registration is now open for CppCon 2022, including CppCon Academy Classes... new discount packages for organizations with many C++ developers... savings for Early Bird registrations before the end of July 15th... four online classes and over a dozen onsite classes... new Economy registration... three options available for full-time students... [and more]

Check out the full announcement for more details.

Reminder: CppCon 2022 talk submission deadline this week

Thank you to everyone who has already responded to the CppCon 2022 Call for Submissions! We love the strong set of high-quality submissions we've received so far again this year, and more are still coming in as we approach the talk submission deadline this Friday.

If you have been thinking of submitting a talk proposal, you still have a few days! Remember that this year the conference is again fully on-site and fully on-line, closely coordinated, just like last year. So we encourage talk submissions for all parts of the conference... just let us know whether you prefer to speak on-site, on-line, or either.

More CppCon news will be coming soon, including opening registration and announcing the pre- and post-conference classes. Stay tuned!

CppCon 2022 Call for Volunteers and Volunteer Grant Program -- Brett Searles

CppCon 2022 is just three months away! It's hybrid again this year, with a full on-site part together with a tightly coordinated full on-line experience, just like last year. Watch for registration to open in a few days.

In the meantime, here's the latest update -- a call for volunteers, including a grant program:

CppCon 2022 Call for Volunteers and Volunteer Grant Program

by Brett Searles

From the announcement:

Be a part of making CppCon 2022 an exciting event.  Please join us as a volunteer. Building on the success of last year’s hybrid conference, we’ll need both onsite and online-only volunteers.

... For more information about volunteering and the Volunteer Grant Program, please see our Volunteer page.

Join a great team and be a part of history making in the C++ community, please complete the CppCon 2022 Volunteer Application Form.  There will be other steps after completion, we will contact you to assist you with setup for the conference.

Projections with Ranges

The series continue.

Projections with Ranges

by Rainer Grimm

From the article:

The algorithms of the ranges library are lazy, can work directly on the container, and can easily be composed. But they have more to offer: projections. A projection is a mapping of a set into a subset. Let me show you in this post what that means...

Early Access to C++Now 2022 Videos--Anastasia Kazakova

Come see them.

Early Access to C++Now 2022 Videos

by Anastasia Kazakova

From the article:

C++Now is one of the most academic events in the C++ calendar. Up in the mountains for a week in Aspen, Colorado, attendees dive into all kinds of profound C++ topics, from new language features and proposals to libraries and tools. C++ chats start at breakfast and continue until late at night in the bar. As the conference describes itself, the C++Now participants pushe C++ to its limits and let the community know what C++ will look like tomorrow and what we can do with C++ now!