Главная
Study mode:
on
1
Introduction
2
Undefined behavior
3
Check Integer
4
The constrainedvalue library
5
The original motivation for this library
6
What boundedinteger does differently
7
Supported compilers
8
Declaration
9
Template policies
10
Syntax
11
Goblin example
12
Common policy
13
Constants
14
Userdefined literals
15
Forward declaration
16
Inclusive bounds
17
Implicit conversions
18
Limitations
19
Floating point
20
Questions
21
Policy class
22
integer overflow
23
implementation questions
Description:
Explore David Stone's C++Now 2014 talk on the bounded::integer library, which aims to eliminate undefined behavior in integer operations. Learn about the library's motivation, unique features, and implementation details. Discover how to use template policies, syntax, and user-defined literals to create safer integer types. Examine the library's support for inclusive bounds, implicit conversions, and its limitations with floating-point numbers. Gain insights into policy classes, integer overflow handling, and implementation considerations for more robust C++ programming.

Removing Undefined Behavior from Integer Operations - The Bounded-Integer Library

CppNow
Add to list
0:00 / 0:00