Custom Views for the Rest of Us1Custom Views for the Rest of Us — Jacob Rice jacob.rice.cpp@gmail.com 2🎉🎆🎊 using namespace std::views; for (int i : iota(2) | filter(even) | transform(square)) std::cout << i << ' '; 1 AlgorithmThatSwaps(T& t1, T& t2) 2 { 3 // Algorithm stuff... 4 5 // More algorithm 6 } 7 Calls the custom version, if it exists (same for begin and end): 78std::ranges::iter_swap std::ranges::iter_move (P2387) New type: std::ranges::range_adaptor_closure. Ensure all closure objects inherit from this. Custom closure objects can then use it, too. 120namespace detail { template concept can_cons 0 码力 | 187 页 | 13.25 MB | 6 月前3
《深入浅出MFC》2/e本章回顧 / 409 第7章 簡單而完整:MFC 骨幹程式 / 411 不㆓法門:熟記 MFC 類別的階層架構 / 411 MFC 程式的 UI 新風貌 / 412 Document/View 支撐你的應用程式 / 419 利用 Visual C++ 工具完成 Scribble step0 / 423 Scribble Step2:UI 物件的變化 / 585 改變選單 / 585 改變工具列 / 588 利用 ClassWizard 連接命令項識別碼與命令處理函式 / 590 維護 UI 物件狀態(UPDATE_COMMAND_UI) / 594 本章回顧 / 多重文件 / 736 新的 Document 類別 / 736 新的 Document Template / 739 新的 UI 系統 / 740 新文件的檔案讀寫動作 / 742 * 第 14 章 MFC 多緒程式設計(Multi-threaded Programming in MFC) / 7450 码力 | 1009 页 | 11.08 MB | 1 年前3
Quickly Testing Qt Desktop Applications With Approval TestsExecutable Color Key GUI.exe main() and *.cpp *.ui15 Introduce static lib for tests Static Library Executable Color Key GUI.exe main() UI.lib *.cpp *.ui16 Introduce static lib for tests Static Library Executable Color Key GUI.exe main() UITests.exe main() and tests/*.cpp UI.lib *.cpp *.ui If too hard, could move just the code you are going to test17 Why Static Library? Impact checked at compile-time – finding interface type: QAbstractButton better than QToolButton41 Testing Custom Qt Widgets – part 1 Option Advantages Disadvantages widget.findChild()/findChildren() Don’t need0 码力 | 77 页 | 6.96 MB | 6 月前3
What's New in Visual Studio 2022support for Windows, Linux, macOS, iOS, Android, wasm, x86, x64, ARM, and ARM64 • Or add your own custom targets 🔎 https://vcpkg.iovcpkg for professional C++ development 📝 Manifests Express your dependencies library catalogs 🎯Triplets Target over 50 different pre-determined environments or define your own custom one 💾 Asset Caching (experimental) Continue operating your development environment even if the Blueprint References *UI not final Get Started: aka.ms/cpp/unreal See Blueprint References Run UE Tests in Visual Studio Unreal Engine IntegrationUE Naming Convention Checker *UI not final UE Macro0 码力 | 55 页 | 3.27 MB | 6 月前3
Conan 1.16 DocumentationSystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205 12.6 Custom integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 13.10 How to create and share a custom generator with generator packages . . . . . . . . . . . . . . . . . . 233 13.11 How to manage shared built with GCC 4.8 which also needs to be compatible for GCC 4.9 installations. 5.6.1 Defining a Custom package_id() The default package_id() uses the settings and options directly as defined, and assumes0 码力 | 545 页 | 4.34 MB | 1 年前3
Conan 1.15 Documentation(vim) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 12.26 Custom integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 13.10 How to create and share a custom generator with generator packages . . . . . . . . . . . . . . . . . . 231 13.11 How to manage shared built with GCC 4.8 which also needs to be compatible for GCC 4.9 installations. 5.6.1 Defining a Custom package_id() The default package_id() uses the settings and options directly as defined, and assumes0 码力 | 540 页 | 4.22 MB | 1 年前3
Conan 2.0 Documentationintegrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.5 New custom user commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2 configurations of versions, runtimes, C++ standard library, etc. This model is also extensible to any custom configuration. 1.4. All platforms, all build systems and compilers 5 Conan Documentation, Release example via CMakeP- resets.json. Read more: • Tools reference 2.5 New custom user commands Conan 2 allows extending Conan with custom user commands, written in python that can be called as conan xxxx. These0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 1.19 DocumentationSystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 13.6 Custom integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 14.10 How to create and share a custom generator with generator packages . . . . . . . . . . . . . . . . . . 269 14.11 How to manage shared profiles So far, we have used the default settings stored in ~/.conan/profiles/default and defined custom values for some of them as command line arguments. However, in large projects, configurations can0 码力 | 609 页 | 4.88 MB | 1 年前3
Conan 1.20 DocumentationSystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 13.6 Custom integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 14.10 How to create and share a custom generator with generator packages . . . . . . . . . . . . . . . . . . 269 14.11 How to manage shared profiles So far, we have used the default settings stored in ~/.conan/profiles/default and defined custom values for some of them as command line arguments. However, in large projects, configurations can0 码力 | 611 页 | 4.89 MB | 1 年前3
Conan 1.18 DocumentationSystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 13.6 Custom integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258 14.10 How to create and share a custom generator with generator packages . . . . . . . . . . . . . . . . . . 261 14.11 How to manage shared profiles So far, we have used the default settings stored in ~/.conan/profiles/default and defined custom values for some of them as command line arguments. However, in large projects, configurations can0 码力 | 584 页 | 4.80 MB | 1 年前3
共 167 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17













