Back to Basics: Templates Part 2
Back to Basics: Templates – Part 2 Bob Steagall CppCon 2021CppCon 2021 – Back to Basics: Templates – Part 2 Copyright © 2021 Bob Steagall Recap: Templates • C++ supports generic programming with templates Alias template • Variable templates • Lambda templates 2CppCon 2021 – Back to Basics: Templates – Part 2 Copyright © 2021 Bob Steagall Recap: Translation Units • In C++, translation is performed in nine preprocessing directives (#ifdef) • And all macros expanded 3CppCon 2021 – Back to Basics: Templates – Part 2 Copyright © 2021 Bob Steagall Recap: Declarations and Definitions • A name is an identifier that0 码力 | 80 页 | 490.15 KB | 5 月前3Back to Basics: Templates - Part 1
Back to Basics: Templates – Part 1 Bob Steagall CppCon 2021CppCon 2021 – Back to Basics: Templates – Part 1 Copyright © 2021 Bob Steagall Overview • Rationale • Template fundamentals • Template categories categories in detail 2CppCon 2021 – Back to Basics: Templates – Part 1 Copyright © 2021 Bob Steagall Goals and References • Goals • Cover major features • Explain some important terminology and concepts cppreference.com 3CppCon 2021 – Back to Basics: Templates – Part 1 Copyright © 2021 Bob Steagall Rationale 4CppCon 2021 – Back to Basics: Templates – Part 1 Copyright © 2021 Bob Steagall 5 The Bad Old Days0 码力 | 68 页 | 436.75 KB | 5 月前3Your laptop as part of the service mesh
#IstioCon Your laptop as part of the service mesh by Lorenzo Fundaró SRE @ Omio #IstioCon What’s on the menu today ● EnvoyFilter in practice ● Demo ● Inspiration #IstioCon Questions #istiocon original Foo 12 request_handle:respond(response) 13 end #IstioCon Ouch ! ● Your laptop is not part of the mesh club #IstioCon A dummy proxy for the mesh ● Called by Lua code ● Parses the contract all the way through the call chain #IstioCon Demo time #IstioCon Thank you ! ● Your laptop as part of the service mesh @ Medium ● Reference implementation and run-it-yourself-demo at github.com/omio-labs/devro0 码力 | 30 页 | 555.24 KB | 1 年前3Nim Tutorial (Part I) 0.17.1
0 码力 | 24 页 | 271.23 KB | 1 年前3Adventures in SIMD Thinking (Part 2 of 2)
Adventures in SIMD Thinking (Part 2 of 2) Bob Steagall CppCon 2020 K E W B C O M P U T I N GCopyright © 2020 Bob Steagall K E W B C O M P U T I N G Agenda • Learn a little about Intel's SIMD facilities0 码力 | 135 页 | 551.08 KB | 5 月前3Adventures in SIMD Thinking (Part 1 of 2)
Adventures in SIMD Thinking (Part 1 of 2) Bob Steagall CppCon 2020 K E W B C O M P U T I N GCopyright © 2020 Bob Steagall K E W B C O M P U T I N G Agenda • Learn a little about Intel's SIMD facilities0 码力 | 88 页 | 824.07 KB | 5 月前3Back to Basics: C++ Templates - Part 1
@Andreas__Fertig B2B: C++ Templates Part 1 fertig adjective /ˈfɛrtɪç/ finished ready complete completed Andreas Fertig v1.0 B2B: C++ Templates 2 B2B: C++ Templates Part 1 © 2020 Andreas Fertig https://AndreasFertig initiated by the keyword template. Andreas Fertig v1.0 B2B: C++ Templates 4 B2B: C++ Templates Part 1 © 2020 Andreas Fertig https://AndreasFertig.Info post@AndreasFertig.Info 2The different kinds something with buffer 17 } 18 } Andreas Fertig v1.0 B2B: C++ Templates 6 B2B: C++ Templates Part 1 © 2020 Andreas Fertig https://AndreasFertig.Info post@AndreasFertig.Info 3Function templates0 码力 | 17 页 | 817.47 KB | 5 月前3Back to Basics: C++ Templates - Part 2
Andreas Fertig https://AndreasFertig.Info post@AndreasFertig.Info @Andreas__Fertig B2B: C++ Templates Part 2 Variadic templates: Parameter pack ■ Syntax: A typename|class... Ts generates a type template 20 static_assert(min(3, 2) == 2); Andreas Fertig v1.0 B2B: C++ Templates 2 B2B: C++ Templates Part 2 © 2020 Andreas Fertig https://AndreasFertig.Info post@AndreasFertig.Info 1Variadic templates Print(”Hello”, ”C++”, 20); 15 } Andreas Fertig v1.0 B2B: C++ Templates 4 B2B: C++ Templates Part 2 © 2020 Andreas Fertig https://AndreasFertig.Info post@AndreasFertig.Info 2Fold Expressions C++170 码力 | 12 页 | 787.22 KB | 5 月前3Back to Basics: Designing Classes (part 1 of 2)
Back to Basics Designing Classes (part 1 of 2) Klaus Iglberger, CppCon 2021 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer/Consultant Author of the C++ math library (Co-)Organizer CppCon B2B and SD tracks Email: klaus.iglberger@gmx.deContent 3 Back to Basics: Class Design (Part 1) The Challenge of Class Design Design Guidelines Design for Readability Design for Change for Testability Implementation Guidelines Resource Management Back to Basics: Class Design (Part 2) Implementation Guidelines Data Member Initialization Implicit Conversions Order of Data Members0 码力 | 87 页 | 5.64 MB | 5 月前3Back to Basics: Designing Classes (part 2 of 2)
Back to Basics Designing Classes (part 1 of 2) Klaus Iglberger, CppCon 2021 klaus.iglberger@gmx.de2 Klaus Iglberger C++ Trainer/Consultant Author of the C++ math library (Co-)Organizer CppCon B2B and SD tracks Email: klaus.iglberger@gmx.deContent 3 Back to Basics: Class Design (Part 1) The Challenge of Class Design Design Guidelines Design for Readability Design for Change for Testability Implementation Guidelines Resource Management Back to Basics: Class Design (Part 2) Implementation Guidelines Data Member Initialization Implicit Conversions Order of Data Members0 码力 | 76 页 | 2.60 MB | 5 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100