[图书][B] A Tour of C++

B Stroustrup - 2022 - books.google.com
In A Tour of C++, Third Edition, Bjarne Stroustrup provides an overview of ISO C++, C++ 20,
that aims to give experienced programmers a clear understanding of what constitutes …

[PDF][PDF] Contract assertions on coroutines

T Doumler, J Berne, I Sandoe, P Bindels - 2024 - isocpp.org
In this paper, we explore the design space for an extension to the Contracts MVP proposal
[P2900R8] that allows placing function contract assertions—pre and post—on coroutines …

[PDF][PDF] Contracts for C++: Prioritizing Safety

G Dos Reis - 2022 - open-std.org
2 BACKGROUND During the October 6th, 2020, teleconference of the WG21 Study Group
on Contracts, SG21 took a poll to determine whether it agrees “to progress contract checking …

[PDF][PDF] Postconditions odr-using a parameter modified in an overriding function

T Doumler, J Berne - 2024 - open-std.org
This paper considers the case where an overridden function odr-uses a non-reference
function parameter in its postcondition assertion, and then an overriding function drops const …

[PDF][PDF] Revisiting side effects, elision, and duplication of contract predicate evaluations

T Doumler - 2024 - open-std.org
Abstract The current Contracts MVP [P2900R6] allows side effects in contract predicates. It
further specifies that evaluating a predicate when performing a contract check can be elided …

Automatic Generator Methodology for Safe Embedded Software

M Werner - 2023 - mediatum.ub.tum.de
The growing complexity of embedded systems requires new strategies to meet the
challenges of embedded system development. The evolution of programming languages …

[PDF][PDF] Contracts for C++: Pre-Wrocław technical clarifications

T Doumler, J Berne - 2024 - open-std.org
After having gained implementation and deployment experience with Contracts for C++ as
proposed in [P2900R10] we identified a few corner cases for which the front matter and …

[PDF][PDF] Functions having a narrow contract should not be noexcept

T Doumler, E Catmur - 2023 - isocpp.org
Abstract The Lakos Rule is a long-standing design principle in the C++ Standard Library. It
stipulates that a function having a narrow contract should not be declared noexcept, even if it …

[PDF][PDF] Portable assumptions

T Doumler - 1774 - open-std.org
We propose a standard facility providing the semantics of existing compiler built-ins such as
__builtin_assume (Clang) and __assume (MSVC, ICC). It gives the programmer a way to …

[PDF][PDF] Defensive Checking Versus Input Validation

R Khlebnikov, J Lakos - 2020 - open-std.org
For a software system to function as intended, the assumptions made by its designers must
be satisfied. Such assumptions fall into one of two distinct categories:(1) The system must be …