Taming the C++ Filter View©2024 by josuttis.com 1 C++ Nicolai M. Josuttis josuttis.com @NicoJosuttis Taming the C++ Filter View September 17, 2024 16:45 - 17:45 MDT ©2024 by josuttis.com 2 C++ Nicolai M. Josuttis • Independent Topics: – Systems Architect – Technical Manager – SOA – X and OSF/Motif Nico Josuttis C++ Filter View @cppcon 2024-09-17 1©2024 by josuttis.com 3 C++ Views C++20 ©2024 by josuttis.com 4 C++ C++20: Output: 0 8 15 47 11 42 1 0 1 8 11 15 42 47 C++20 templateNico Josuttis C++ Filter View @cppcon 2024-09-17 2©2024 by josuttis.com 5 C++ C++20: Views void print(const auto& coll) { for 0 码力 | 43 页 | 2.77 MB | 6 月前3
Unraveling string_view: Basics, Benefits, and Best PracticesC++: string_view: Deep dive Jasmine Lopez Prithvi Okade 1Topics • Motivation • Performance benefits & basics • string_view: Constructors, useful functions • string vs. string_view and their interoperability interoperability • When to use string_view • Using string_view safely • Intro to span • span vs. string_view • Case study of an optimization using string_view. 2Motivation • Consider a function foo will end up calling “2”. And the code will miss the niceties of using the string API set. string_view helps in resolving this problem elegantly.Motivation 4 void foo(const std::string& str); void foo(const0 码力 | 61 页 | 1.11 MB | 6 月前3
Many Ways to Kill an Orc (or a Hero)or #include, , view>, class Character { std::string name_; int life_; public: constexpr Character(std::string_view name, int life) : name_{ name }, life_{ }; class Orc; class Hero : Character { int strength_; public: constexpr Hero(std::string_view name, int life, int strength) : Character { name, life }, strength_{ strength } { } { /* ... */ }; class Orc : Character { int strength_; public: constexpr Orc(std::string_view name, int life, int strength) : Character { name, life }, strength_{ strength } { } 0 码力 | 202 页 | 1.26 MB | 6 月前3
Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code● Robotics Engineer on the services team at PickNik Robotics ○ Contributed to a wide variety of client projects: remotely operated underwater inspection vehicles, autonomous mobile base for agriculture maintain, and extend ● At the end of a services project, code is handed over to the client ● How can the client expect proper operation of the software once they start developing on top of it?Why give maintain, and extend ● At the end of a services project, code is handed over to the client ● How can the client expect proper operation of the software once they start developing on top of it? Answer:0 码力 | 200 页 | 1.77 MB | 6 月前3
《深入浅出MFC》2/e两本应该是够用了。不然就再加上一本SDK 书籍, 这样子应该是可以打个基础了。 CCA.bbs@cis.nctu.edu.tw:函数名称可以查help,重要的是C++ 的观念。另外就是要了 解MFC 里的Document/View/Frame,以及Dynamic Creation, Message mapping 等等。 深入浅出MFC 第二版对这些部份都有很深入的探讨,把MFC 里的一些机制直接trace code 加以说明。 程序设计模型(注2)息息相关之特殊性质(注3)的 实作方式。 注1:此指runtime type information、dynamic creation、persistence、document/view¡ K。 注2:此指message based、event driven 之programming model。 注3:此指message mapping、command routing ¡ K。 Document/View 支撐你的應用程式 / 419 利用 Visual C++ 工具完成 Scribble step0 / 423 骨幹程式使用哪些 MFC 類別? / 423 Document Template 的意義 / 430 Scribble 的 Document/View 設計 / 4360 码力 | 1009 页 | 11.08 MB | 1 年前3
Conan 2.5 Documentationcom/conan-io/ conan 1.2 Decentralized package manager Conan is a decentralized package manager with a client-server architecture. This means that clients can fetch packages from, as well as upload packages nor create the packages. The packages are created by the client, and if binaries are built from sources, that compilation is also done by the client application. 3 Conan Documentation, Release 2.5.0 The the image above are: • The Conan client: this is a console/terminal command-line application, containing the heavy logic for package creation and consumption. Conan client has a local cache for package storage0 码力 | 769 页 | 4.70 MB | 1 年前3
Conan 2.4 Documentationcom/conan-io/ conan 1.2 Decentralized package manager Conan is a decentralized package manager with a client-server architecture. This means that clients can fetch packages from, as well as upload packages nor create the packages. The packages are created by the client, and if binaries are built from sources, that compilation is also done by the client application. 3 Conan Documentation, Release 2.4.1 The the image above are: • The Conan client: this is a console/terminal command-line application, containing the heavy logic for package creation and consumption. Conan client has a local cache for package storage0 码力 | 769 页 | 4.69 MB | 1 年前3
Conan 2.3 Documentationcom/conan-io/ conan 1.2 Decentralized package manager Conan is a decentralized package manager with a client-server architecture. This means that clients can fetch packages from, as well as upload packages nor create the packages. The packages are created by the client, and if binaries are built from sources, that compilation is also done by the client application. 3 Conan Documentation, Release 2.3.2 The the image above are: • The Conan client: this is a console/terminal command-line application, containing the heavy logic for package creation and consumption. Conan client has a local cache for package storage0 码力 | 748 页 | 4.65 MB | 1 年前3
Conan 2.7 Documentationcom/conan-io/ conan 1.2 Decentralized package manager Conan is a decentralized package manager with a client-server architecture. This means that clients can fetch packages from, as well as upload packages nor create the packages. The packages are created by the client, and if binaries are built from sources, that compilation is also done by the client application. 3 Conan Documentation, Release 2.7.1 The the image above are: • The Conan client: this is a console/terminal command-line application, containing the heavy logic for package creation and consumption. Conan client has a local cache for package storage0 码力 | 779 页 | 4.93 MB | 10 月前3
Conan 2.8 Documentationcom/conan-io/ conan 1.2 Decentralized package manager Conan is a decentralized package manager with a client-server architecture. This means that clients can fetch packages from, as well as upload packages nor create the packages. The packages are created by the client, and if binaries are built from sources, that compilation is also done by the client application. 3 Conan Documentation, Release 2.8.1 The the image above are: • The Conan client: this is a console/terminal command-line application, containing the heavy logic for package creation and consumption. Conan client has a local cache for package storage0 码力 | 785 页 | 4.95 MB | 10 月前3
共 232 条
- 1
- 2
- 3
- 4
- 5
- 6
- 24













