LITERALS SAFELY for Types that Behave as though Built-in - Pablo Halpern - CppCon 2021
LITERALS SAFELY for Types that Behave as though Built-in Pablo Halpern phalpern@halpernwightsoftware.com CppCon 2021 This work by Pablo Halpern is licensed under a Creative Commons Attribution 4.0 International 10/26/21 Pablo Halpern, 2021 (CC BY 4.0) 2literal [ lit-er-uhl ] noun 1. a typographical error, especially involving a single letter. Source: dictionary.com 10/26/21 Pablo Halpern, 2021 (CC BY 4.0) integer, floating-point, character, string, Boolean, pointer, or user-defined type. 10/26/21 Pablo Halpern, 2021 (CC BY 4.0) 4Examples of C++ literals ■ Integer: 123, 456U, 0xfedcba10000LL, 0b1001UL ■ Floating0 码力 | 66 页 | 1.47 MB | 5 月前3Noexcept: Enabling Testing of Contract Checks
Noexcept? Enabling Testing of Contract Checks Pablo Halpern and Timur Doumler This work by Pablo Halpern & Timur Doumler is licensed under a Creative Commons Attribution 4.0 International License enforcement requires good oversight. • Contract checks should themselves be tested. 4-Oct-23 Pablo Halpern and Timur Doumler, 2023 (CC BY 4.0) 2 Today’s talkGoals −What We Hope to Teach You • How the noexcept go over everything twice! 4-Oct-23 Pablo Halpern and Timur Doumler, 2023 (CC BY 4.0) 3About the presenters Pablo Halpern Timur Doumler 4-Oct-23 Pablo Halpern and Timur Doumler, 2023 (CC BY 4.0) 4 •0 码力 | 90 页 | 1.38 MB | 5 月前3Using Modern C++ to Build XOffsetDatastructure
handle all the requests for allocation and deallocation of memory for a given container.' • Pablo Halpern, in his presentation 'Allocators, the Good Parts', offers a simpler definition: • 'An allocator Pablo Halpern • CppCon 18 An Allocator is a Handle to a Heap by Arthur O'Dwyer • CppCon 18 Fancy Pointers for Fun and Profit by Bob Steagall • CppCon17 Allocators, the Good Parts by Pablo Halpern • Modern C++ by Misha Shalem • CppCon19 Getting Allocators out of Our Way by Alisdair Meredith & Pablo Halpern • … • How to improve the custom allocator is a topic that will be continued. Fanchen Su, XOffsetDatastructure0 码力 | 111 页 | 3.03 MB | 5 月前3What's Eating my RAM?
Application's Memory”- CppCon 2019 d. Getting Allocators out of Our Way - Alisdair Meredith & Pablo Halpern - CppCon 2019© 2024 Bloomberg Finance L.P. Thank you! https://TechAtBloomberg.com/cplusplus https://www0 码力 | 88 页 | 3.49 MB | 5 月前3
共 4 条
- 1