C++23: An Overview of Almost All New and Updated Featuresof Professional C++, 2nd, 3rd, 4th, and 5th Edition Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP) C++204 Character Escapes Trim Whitespace Before Line Splicing C++23 Standard Library String Formatting Improvements Standard Library Modules std::flat_(multi)map / std::flat_(multi)set std::mdspan d_overwrite() Monadic Operations for std::optional Stacktrace Library Changes to Ranges Library Changes to Views Library std::expected std::move_only_function<> std::spanstream 0 码力 | 105 页 | 759.96 KB | 6 月前3
C++20: An (Almost) Complete OverviewEdition 5th Edition (C++20) coming later this year Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP)3 C++20 C++20 C++20 is big! Lots of new features! On Friday September 4, 2020, the C++20 standard passed ISO voting, expected to be formally published by the end of 2020.4 Agenda Modules Ranges Concurrency Changes Atomic Smart Pointers Joining & Cancellable Threads The C++20 Synchronization Library Semaphores, efficient atomic waiting, latches, and barriers std::atomic_ref Designated Initializers0 码力 | 85 页 | 512.18 KB | 6 月前3
C++20's IANA time zone database. • This functionality requires several new types to be added to the library: • tzdb • tzdb_list • time_zone • zoned_time • time_zone_link • ambiguous_local_time • nonexistent_local_time 2:00am. At this time, clocks were turned backward 1 hour to Sunday November 6, 2016 at 1:00am standard time instead. So, the time_point Nov 6, 2016 1:30am essentially occurred twice during that at 2:00am. At this time, clocks were turned forward 1 hour to Sunday March 13, 2016 at 3:00am standard time instead. So, the time_point March 13, 2016 2:30am did not exist during that early morning0 码力 | 55 页 | 8.67 MB | 6 月前3
C++高性能并行编程与优化 - 课件 - 11 现代 CMake 进阶指南语句里,从而只有某些选项开启才启用某语言之类的 设置 C++ 标准: CMAKE_CXX_STANDARD 变量 • CMAKE_CXX_STANDARD 是一个整数,表示要用的 C++ 标准。 • 比如需要 C++17 那就设为 17 ,需要 C++23 就设为 23 。 • CMAKE_CXX_STANDARD_REQUIRED 是 BOOL 类型,可以为 ON 或 OFF ,默认 OFF ON 则发现不支持报错,更安 全。 https://crascit.com/2015/03/28/enabling-cxx11-in-cmake/ 设置 C++ 标准: CMAKE_CXX_STANDARD 变量 • CMAKE_CXX_EXTENSIONS 也是 BOOL 类型,默认为 ON 。设为 ON 表示启用 GCC 特有的一些扩展功能; OFF 则关闭 GCC 的扩展功能,只使用标准的 的扩展功能,只使用标准的 C++ 。 • 要兼容其他编译器(如 MSVC )的项目,都会设为 OFF 防止不小心用了 GCC 才有的 特性。 • 此外,最好是在 project 指令前设置 CMAKE_CXX_STANDARD 这一系列变量,这样 CMake 可以在 project 函数里对编译器进行一些检测,看看他能不能支持 C++17 的特 性。 https://crascit.com/2015/03/20 码力 | 166 页 | 6.54 MB | 1 年前3
A Crash Course in Calendars, Dates, Time, and Time Zonesof Professional C++, 2nd, 3rd, 4th, and 5th Edition Co-author of C++ Standard Library Quick Reference& C++17 Standard Library Quick Reference Founder of the Belgian C++ Users Group (BeCPP) C++203 numbers at compile time Always normalized representation Needed for durations in thelibrary6 Compile-Time Rational Numbers Define a rational number: using r1 = ratio<1, 60>; // Represents duration >>;16 Durations – Predefined & Literals Standard user-defined duration literals: h, min, s, ms, us, and ns Require any of the following using 0 码力 | 43 页 | 551.60 KB | 6 月前3
C++20 STL Features: 1 Year of Development on GitHubOverview • What's happened in the last year • Part 1: C++20 STL Features • Everything here is Standard, except as noted • Part 2: GitHub Development • For contributors and observers3 Overview Part P1065R2 constexpr INVOKE (GH-703, AdamBucior) • Work in progress (mnatsuhara): • GH-37 P0784R7 Library Support For More constexpr Containers • GH-43 P0980R1 constexpr string • GH-45 P1004R2 constexpr track all remaining C++20 features • GH-39 P0896R4• LWG issues track bugfixes in the Standard itself • GH-333 LWG-3070 path::lexically_relative • bug, performance, throughput, enhancement 0 码力 | 45 页 | 702.09 KB | 6 月前3
whats new in visual studiobasic_string and basic_string_view • Other small features 🕙 Coming next for C++23 • STL • Standard library modules • Coroutines 💡 C++98* * with /permissive- 💡 C++11 💡 C++14 💡 C++17 💡 C++20* *awaiting Team Productivity Simplify C++ dependency management with . vcpkg Open-source library manager for Windows, Linux, and macOS 1700+ popular open-source libraries available for installation Create your own private library catalog for use within vcpkg; great for internal, closed-source 3rd party libraries and community repositories 🔢 Versioning Choose which library versions you want (works0 码力 | 42 页 | 19.02 MB | 6 月前3
新一代分布式高性能图数据库的构建 - 沈游人贴合 ISO GQL Standard • Incorporate by reference specifications from SQL/Framework and SQL/Foundation • Capabilities needed by both SQL/PGQ (Property Graph Queries in SQL) and the GQL standard • GQL Specific comment resolution started •2023-06 – DIS (Draft International Standard) Ballot starts •2023-11 – DIS ballot ends •2024-04 – International Standard 类 SQL 语言,简单易用,面向分析师友好 查询引擎:计算请求执行流程 Cypher AST Unresolved 20+ 个 GNN 算法 • 支持同构图 / 异构图 / 属性图 客户的信任 • 上线某银行反欺诈场景 业务效果提升 10%+ 灵活易用的开发平台 • AtlasML Python Library • 集成 Jupyter Notebook 超参数自动优化 • 支持超参数自动调优,解放算 法科学家生产力,避免繁杂的 手动调参 海致图神经网络平台特点 Rust 语言特性助力构建高性能图数据库0 码力 | 38 页 | 24.68 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 08 CUDA 开启的 GPU 编程仅针对单个程序 只对 main 这个程序启用: 对下方所有的程序启用(推荐): 顺便一提, CXX_STANDARD 和 CUDA_ARCHITECTURES 也有 这两种方式,我一般推荐直接设置全局的 CMAKE_CXX_STANDARD 即可应用到全部 add_executable/add_library 的对象上,比较方便。 进一步:核函数调用核函数 • 从 Kelper 架构开始, __global__0 码力 | 142 页 | 13.52 MB | 1 年前3
RustBelt - Rust 的形式化语义模型are guaranteed memory safety, thread safety, ... There are plenty of unsafe codes in Rust’s standard library. use after free data race array-index overflow use after free data race array-index overflow0 码力 | 21 页 | 2.63 MB | 1 年前3
共 20 条
- 1
- 2













