Our website uses cookies to enhance your browsing experience.
Accept
to the top
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam

Webinar: Evaluation - 05.12

>
>
>
C++

Posts: C++ articles

Feb 16 2022
How PVS-Studio prevents rash code changes, example N3
Andrey Karpov
Let's continue with a series of small notes illustrating the PVS-Studio's ability to quickly find new errors in the code. If the analyzer is regularly used, of course :). Today we have another bug...
...
Feb 16 2022
A bug report's adventure
Mikhail Gelvikh
We are often asked whether we send bug reports to developers of open-source projects. The answer is yes. More than that— we sometimes track the progress. This article is about one of the cases...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
* By clicking this button you agree to our Privacy Policy statement
Feb 10 2022
An example of undefined behavior caused by absence of return
Andrey Karpov
This article contains a very interesting example. The absence of the return statement in a value-returning function leads to undefined behavior. It's a perfect example of how wrong code can crash...
...
Feb 07 2022
What memory release strategy does the PVS-Studio C and C++ core use?
Andrey Karpov
In various discussions, we have already commented on how the PVS-Studio C and C++ module works with memory. Now it's time to make a small article from this...
...
Feb 01 2022
MuditaOS: Will your alarm clock go off? Part I
Vladislav Stolyarov
Operating systems are a kind of software where code quality is critical. This time the PVS-Studio analyzer checked MuditaOS. So let's take a look at what the static analyzer found in this...
...
Jan 28 2022
PVS-Studio for Visual Studio 2022
Valery Komarov
The PVS-Studio team writes articles on various topics. But we rarely make articles on how to interact with the analyzer. Let's fix it with an article about the PVS-Studio plugin for the Visual...
...
Jan 18 2022
How PVS-Studio prevents rash code changes, example N2
Andrey Karpov
When developers do make mistakes, it's often accidental or because the developers are in a hurry. These errors often make their way into small edits to the code. Let's review one of these cases...
...
Design and evolution of constexpr in C++
Guest
constexpr is one of the magic keywords in modern C++. You can use it to create code, that is then executed before the compilation process ends. This is the absolute upper limit for...
...
Jan 04 2022
The most interesting blogs and websites for C++ developers
Andrey Karpov
Readers surely have favorite websites and blogs about C++. Hopefully, today your collection will...
...
Dec 31 2021
What's new in PVS-Studio in 2021?
Maxim Stefanov, Oleg Lisiy, Sergey Vasiliev
2021 is coming to an end, which means it's time to sum up the year! Today we'll tell you about the new features we added to PVS-Studio in the past year. Buckle up and let's...
...
View more Pagination arrow previous
Showing: - of 583