Custom Views for the Rest of UsLessons • Views are tricky to write but easy to use. • C++20 isn’t quite ready for custom views. • range-v3 may help until closures are fixed. ## Topics all_pairs_view vector, proxy iterators ## Lessons • Views are tricky to write but easy to use. • C++20 isn’t quite ready for custom views. • range-v3 may help until closures are fixed. • Proxies are unintuitive, but valid in C++20. • Create a new Lessons • Views are tricky to write but easy to use. • C++20 isn’t quite ready for custom views. • range-v3 may help until closures are fixed. • Proxies are unintuitive, but valid in C++20. • Create a new 0 码力 | 187 页 | 13.25 MB | 1 年前3
C++高性能并行编程与优化 - 课件 - 01 学 C++ 从 CMake 学起矩阵库(附带一些常用函数,随机数生成等) 4. Tencent/rapidjson - 单纯的 JSON 库,甚至没依赖 STL(可定制性高,工程美学经典) 5. ericniebler/range-v3 - C++20 ranges 库就是受到他启发(完全是头文件组成) 6. fmtlib/fmt - 格式化库,提供 std::format 的替代品(需要 -DFMT_HEADER_ONLY) 格式化库,提供 std::format 的替代品 2. gabime/spdlog - 能适配控制台,安卓等多后端的日志库 CMakeLists.txt 3. ericniebler/range-v3 - C++20 ranges 库就是受到他启发 1 cmake_minimum_required(VERSION 3.12) 4. g-truc/glm - 模仿 GLSL 语法的数学矢量 PUBLIC TBB::tbb TBB::tbbmalloc) ## 第三方库 - 常用 package 列表 1. fmt::fmt 2. spdlog::spdlog 3. range-v3::range-v3 4. TBB::tbb 5. OpenVDB::openvdb 6. Boost::iostreams 7. Eigen3::Eigen 8. OpenMP::OpenMP_CXX0 码力 | 32 页 | 11.40 MB | 2 年前3
Implementing Particle Filters with RangesP2214R0: A Plan for C++23 Ranges ■ P2760R1: A Plan for C++26 Ranges # PRACTICAL RECOMMENDATIONS RANGE-V3 (C++17) ### https://godbolt.org/z/b98e5eb9E Source Editor: C++ source #1 #include#include > # PRACTICAL RECOMMENDATIONS RANGE-V3 (C++17) https://github.com/Ekumen-OS/beluga  ## Range-v3 Range algorithms, views, and actions for the Standard Library ## Range-v3 User Manual Examples Release Notes ## User Manual Modules0 码力 | 94 页 | 4.56 MB | 1 年前3
EXPLORATION OF C++20 METAPROCRAMMINGalong with zip, zip_with, stayed out. • You can experiment with it by adding Eric Niebler's range-v3 library. ## std::plus< ::operator() template< class T, class U> constexpr auto operator()(0 码力 | 50 页 | 2.59 MB | 1 年前3
Constructing Generic Algorithms0bdd2/p19_1.jpg) 0 1 2 3 4 5 6 7 8 zip with n-shift is a sliding window like views::sliding (range-v3, not C++20) and zip is of course the binary version of transform ## BACK TO THE PROBLEM ## BACK0 码力 | 145 页 | 8.44 MB | 1 年前3
Structure and Interpretation of Computer Programs[](/uploads/documents/e/d/8/c/ed8cecf16596df652888a9b9799335b0/p116_4.jpg)|C++|cartesian\_product|range-v3|Doc| ||Python|product|itertools|Doc|0 码力 | 136 页 | 7.35 MB | 1 年前3
A Physical Units Library for the Next C++-|PEGTL| |9|||||||Boost|\-|GLM|\-|Pipes| |10|// unit conversions||||||Brigand|\-|Google Test|\-|range-v3| |11|static\_assert(1\_q\_h == 3600\_q\_s);||||||Catch2|\-|GSL|\-|Seastar| |12|static\_assert(1\_q\_km0 码力 | 172 页 | 6.17 MB | 1 年前3
共 8 条
- 1
相关搜索词
custom viewsproxy iteratorsviewable_rangerange-v3customization pointsC++并行编程CMakeGPU优化Particle FiltersRangesSTLC++23RoboticsMonadsModern C++std::futureFunctional ProgrammingBindC++20元编程模板编译时条件类型特征algorithmgeneric algorithmsiterator abstractionconceptsStructure and Interpretation of Computer ProgramsComputer ProgramsProgramming LanguagesFunction ProgrammingInterpreter物理单位库静态断言单位转换Boost.Units













