Custom Views for the Rest of Us## +21 ## Custom Views for the Rest of Us ## JACOB RICE 20 21 October 24-29 ## Custom Views for the Rest of Us Jacob Rice jacob.rice.cpp@gmail.com KEYSIGHT TECHNOLOGIES 1 using namespace std::views; t2) 3 { // Algorithm stuff... std::ranges::swap(t1, t2); // More algorithm ## Calls the custom version, if it exists (same for begin and end): 1 template2 void AlgorithmThatSwaps(T& type: std::ranges::range_adaptor_closure . • Ensure all closure objects inherit from this. • Custom closure objects can then use it, too. namespace detail { templateconcept 0 码力 | 187 页 | 13.25 MB | 1 年前3
Connecting User And Library CodeCustomization Methods: Connecting User And Library Code Inbal Levi ## Who Am I? • A C++ Developer at Millennium. • Active member of ISO C++ work group (WG21): • Library Evolution Work Group Chair • Israeli this talk • The presentation presents my views and opinions only. ## Outline Part 0: What is a Library Part I: What are Customization Points (+ Some History...) Part II: An overview of CPs methods (+ What's next? ## Part 0: What is a Library Part 0: What is a Library  @@@ All of library code is in LibSpace, user code without0 码力 | 58 页 | 18.82 MB | 1 年前3
Linear Algebra with The Eigen Cpp LibraryLinear Algebra with The Eigen C++ Library ## +24 ## DANIEL HANSON ## Outline • A short history – linear algebra and C++ (1998 – Present) • The Eigen C++ Template Library for Linear Algebra • Linear Algebra Disclaimers/Caveats • This presentation is on solving problems using • The Eigen linear algebra library • stdBLAS in C++26 • Not affiliated with Eigen but have used it in financial programming and teaching essentially were: • Write your own Matrix class and operations • Convince your boss to buy a commercial library ## A Little History: Open-Source Libraries ## • Boost uBLAS (BLAS: “Basic Linear Algebra Subroutines”)0 码力 | 35 页 | 1.10 MB | 1 年前3
Improving Our Safety With a Quantities and Units Library## +24 ## Improving Our Safety With a Quantities and Units Library ## MATEUSZ PUSZ ## The future is here  ## The future fundamental types – updating the core language rules – providing safer high-level abstractions in the library ## C++ developers needs help • Many C++ engineers are expected to write life-critical software today quantities and units library ## • Compile-time safety – correct handling of physical quantities, units, and numerical values ## mp-units: C++20/23 quantities and units library ## • Compile-time safety0 码力 | 207 页 | 6.93 MB | 1 年前3
A Physical Units Library for the Next C++## A Physical Units Library For the Next C++ Mateusz Pusz September 15, 2020 ## Motivation, Existing Practice, Challenges  slide number. ## QUICK START ## Physical Units library in a nutshell // simple numeric operations static_assert(10_q_km / 2 == 5_q_km); ## Physical Units library in a nutshell ## // simple numeric operations static_assert(1_q_h == 3600_q_s); static_assert(1_q_km + 1_q_m == 1001_q_m); ## Physical Units library in a nutshell // simple numeric operations static_assert(10_q_km / 2 == 5_q_km); // unit conversions0 码力 | 172 页 | 6.17 MB | 1 年前3
CMake Configuration for Asio Basic Library and Testscppcon_add_library(basic LIBRARIES Asio::asio) add_subdirectory(tests)0 码力 | 1 页 | 71.00 B | 1 年前3
stdx::interval, a library for intervals on totally ordered setsstdx::interval, a library for intervals on totally ordered sets Eric Hughes, Meadhbh Hamrick ## I n brief stdx::interval implements the mathematical sense of an interval on a totally ordered set. The library reasons reasons about intervals as sets, not as interval expressions. The library is header-only and targets C++20. It is available under the MIT License. ## Features ## Predicates Membership. Determine if a point \infty,b](-\infty,b) (-\infty,+\infty) Generic. The library handles the differences between discrete (e.g. int and other integral types) and continuous (string0 码力 | 1 页 | 45.14 KB | 1 年前3
PlantUML 1.2021.3 언어참조가이드QA-12056] ### 13.5 Using Sprites You can use all sprites (icons) from the Standard Library or any other library. Use the notation <$�$prite> to use a sprite, to make a new line, or any other Archimate Macros and Library A list of Archimate macros are defined Archimate-PlantUML here which simplifies the creation of ArchiMate diagrams, and Archimate is natively on the Standard Library of PlantUML. - JLatexMath that displays mathematical formulas written in LaTeX. JLaTeXMath is the best Java library to display LaTeX code. ASCIIMathTeXImg.js is small enough to be integrated into PlantUML standard0 码力 | 408 页 | 4.32 MB | 2 年前3
Building a Coroutine-Based Job System Without Standard Librarynts/8/0/6/4/8064df7eebf486a4f4ceca3d07a9c7ff/p1_2.jpg) COROUTINE JOB SYSTEM WITHOUT STANDARD LIBRARY Tianyi(Tanki) Zhang tankiistanki tankijong Hi Everyone, Tanki here. Thanks for coming to my engine - Jobs. Specifically, based on C++ coroutine which we shipped in C++ 20, without standard library support. I because the contents are pretty connected, so I will take all questions at the end but noise - Not even lambda ## • Improved memory allocation • Heap allocation might be avoidable • Custom allocator integration is seamless # AND REAL WORLD IS NOT PERFECT Even better if not..... • Challenge0 码力 | 120 页 | 2.20 MB | 1 年前3
micrograd++: A 500 line C++ Machine Learning LibraryA 500 line C++ Machine Learning Library Gautam Sharma Independent Researcher gautamsharma2813@gmail.com Abstract—micrograd++ is a pure C++ machine learning library inspired by Andrej Karpathy's Karpathy's Python implementation of micrograd. This header only library aims to provide a simple yet powerful framework for building and training machine learning models. By leveraging the performance efficiency scares practitioners to adopt a C++ based machine learning library for prototyping. Python remains the first choice in that front. This library changes that by providing: • Modern C++ features: micrograd++0 码力 | 3 页 | 1.73 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
custom viewsproxy iteratorsviewable_rangerange-v3customization pointsCustomization PointsLibrary CodeUser CodeIntegrationHooksEigen C++ Template LibraryC++26 Standard LibraryBLAS interfacematrix decompositionvector operationsmp-units库编译时安全物理量单位系统类型安全C++物理单位库静态断言单位转换Boost.UnitsCMake配置Asio基本库测试区间有序集合区间操作区间比较区间端点PlantUMLassertcustom libraryvariable definitionstandard libraryCoroutine-Based Job SystemC++20 CoroutinesPromiseAwaitableRefCounted Objectmicrograd++机器学习头文件智能指针













