C++20 STL Features: 1 Year of Development on GitHubstd; int main() { static constexpr array skipped_extensions{".dll"sv, ".exe"sv, ".obj"sv}; static_assert(ranges::is_sorted(skipped_extensions)); for (const auto& ent : filesystem::recursiv string extension = ent.path().extension().string(); if (ranges::binary_search(skipped_extensions, extension)) { continue; } // ... } }15 Erasing Elements160 码力 | 45 页 | 702.09 KB | 6 月前3
hazard pointer synchronous reclamationintegration of link counting (as in Folly)? • Maybe deprecate global cleanup in Folly? • Other extensions: • Quasi-synchronous on-demand asynchronous reclamation? Minimal Proposal for C++26 Hazard Pointer References Folly github.com/facebook/folly under folly/synchronization/Hazptr.h Working Draft, Extensions to C++ for Concurrency Version 2 (wg21.link/n4895). Hazard Pointers: Safe Memory Reclamation0 码力 | 31 页 | 856.38 KB | 6 月前3
C++20's Marshall • A GitHub project tracking the issues, PRs, discussions, etc. related to C++20 chrono: Extensions to(github.com) • Feature branch (feature/chrono) for rapid development and collaboration 0 码力 | 55 页 | 8.67 MB | 6 月前3
C++高性能并行编程与优化 - 课件 - 11 现代 CMake 进阶指南https://crascit.com/2015/03/28/enabling-cxx11-in-cmake/ 设置 C++ 标准: CMAKE_CXX_STANDARD 变量 • CMAKE_CXX_EXTENSIONS 也是 BOOL 类型,默认为 ON 。设为 ON 表示启用 GCC 特有的一些扩展功能; OFF 则关闭 GCC 的扩展功能,只使用标准的 C++ 。 • 要兼容其他编译器(如 MSVC0 码力 | 166 页 | 6.54 MB | 1 年前3
共 4 条
- 1













