If you’re going to configure a header file, you have to do it before you include the header file
Источник: The Old New Thing
Источник: The Old New Thing
The Old New Thing
If you're going to configure a header file, you have to do it before you include the header file
In Windows, if you want the windows.h header file to default to the Unicode character set, you need to define the UNICODE symbol: #define UNICODE #include <windows.h> There’s no point defining the symbol after the horse has left the barn: // Code in italics…
PVS-Studio 7.16, expanding the horizons: MISRA C, Visual Studio 2022, .NET 6
Источник: isocpp.org (Standard C++)
Источник: isocpp.org (Standard C++)
C++ Annotated November 2021: Discussions on C++ Ecosystem, a Book on C++ Core Guidelines, Designated Initializers, and Recent Releases
Источник: Clion Blog
Источник: Clion Blog
The JetBrains Blog
C++ Annotated November 2021: Discussions on C++ Ecosystem, a Book on C++ Core Guidelines, Designated Initializers, and Recent Releases…
Contracts, discussions on C++ ecosystem, a book on C++ Core Guidelines, designated initializers, and recent releases
<code class="language-cpp">T*</code> makes for a poor <code class="language-cpp">optional<T&></code>
Источник: Barry Revzin
Источник: Barry Revzin
Barry’s C++ Blog
T* makes for a poor optional<T&>
Whenever the idea of an optional reference comes up, inevitably somebody will bring up the point that we don’t need to support optional<T&> because we already have in the language a perfectly good optional reference: T*.
Dubious security vulnerability: Accessing information across accounts after changing email address
Источник: The Old New Thing
Источник: The Old New Thing
The Old New Thing
Dubious security vulnerability: Accessing information across accounts after changing email address
A security vulnerability arrived which basically went like this: Person 1 creates an account. Person 1 links the account to a Microsoft Account. Person 1 creates some files and saves them to the Documents folder. Person 1 uses Remember my password to remember…
Beautiful Digital Experiences and Functional Safety – Can You Have One Without The Other?
Источник: Qt Blog
Источник: Qt Blog
www.qt.io
Beautiful Digital Experiences and Functional Safety – Can You Have One Without The Other?
We want beautiful digital experiences. We want peace of mind in digital devices. We want usability at all times and beauty. Not one or the other. Check out the blog post on how to achieve it with Qt.