Template Metaprogramming: Type Traits## CppCon 2020 Template Metaprogramming: Type Traits Part 1 Jody Hagins jhagins@maystreet.com coachhagins@gmail.com ## CppCon 2020 Template Metaprogramming: Type Traits Introduction ## I ntended Audience oriented: shallow depth, slow current - Not necessarily beginner to C++, but beginner to traditional template metaprogramming techniques ## I ntended Audience • Beginner/Intermediate • Gentle entry: swimming oriented: shallow depth, slow current - Not necessarily beginner to C++, but beginner to traditional template metaprogramming techniques • Type traits part of standard library for ~10 years ## I ntended Audience0 码力 | 403 页 | 5.30 MB | 1 年前3
Template-Less Meta-Programming## Template-Less MetaProgramming 0 ## +24 ## KRIS JUSIAK 2024 September 15 - 20 ## Template Metaprogramming (TMP) templateusing meta_fun = this_talk ## static_assert(Template::Metaprogramming::is_hard); // ✓ ?static_assert(Template::Metaprogramming::is_hard); // ✓ ?static_assert(Template::Metaprogramming::is_powerful); // ✓ ?static_assert(Template::Metapr // ✓ ?static_assert(Template::Metaprogramming::is_powerful); // ✓ ?static_assert(( Template::Metaprogramming::is_easy and Template::Metaprogramming::is_powerful and Template::Metaprogramming::has; 0 码力 | 130 页 | 5.79 MB | 1 年前3
Spring Boot Reference Guide 1.5.12.RELEASE83 Static Content ... 83 Custom Favicon ... 85 ConfigurableWebBindingInitializer ... 85 Template engines ... 85 Error Handling ... 85 Custom error pages ... 86 Mapping error pages outside Starter for building MVC web applications using FreeMarker views Pom spring-boot-starter-groovy-template Starter for building MVC web applications using Groovy Templates views Pom spring-boot-starter-eoas Spring Boot use caches to improve performance. For example, template engines will cache compiled templates to avoid repeatedly parsing template files. Also, Spring MVC can add HTTP caching headers to responses0 码力 | 384 页 | 1.99 MB | 1 月前3
Django 1.8.x Documentation■ Writing more views Write views that actually do something ■ Raising a 404 error ■ Use the template system ■ Removing hardcoded URLs in templates ■ Namespacing URL names Writing your first Django Working with form templates ■ Further topics ## • Templates ■ Support for template engines ■ The Django template language ## Class-based views ■ Introduction to class-based views ■ Built-in Django's cache framework - Setting up the cache - The per-site cache - The per-view cache - Template fragment caching - The low-level cache API - Downstream caches - Using Vary headers - Controlling0 码力 | 2454 页 | 2.85 MB | 2 年前3
Back to Basics: C++ Templates - Part 2## V ariadic templates: Parameter pack ## ■ Syntax: A typename|class... Ts generates a type template parameter pack with optional name. B Args... ts a function argument parameter pack with optional D ts... in the body of a function to unpack the arguments. 1 templatetemplate="" 4="" constexpr="" auto="" 5="" min(const="" t&="" a,="" const="" std::string(t); } 5 Catch all others and apply to_string 6 template auto Normalize(const T& t) { return std::to_string(t); } 7 template auto _StrCat(std::string& 0 码力 | 12 页 | 787.22 KB | 1 年前3
Apache Kyuubi 1.7.2-rc0 Documentationto provide serverless SQL on Data Warehouses and Lakehouses. Kyuubi builds distributed SQL query engines on top of various kinds of modern computing frameworks, e.g., Apache Spark, Flink, Doris, Hive, and to communicate with Kyuubi. ## • RESTful APIs – It provides system management APIs, including engines, sessions, operations, and miscellaneous ones. – It provides methods that allow clients to submit and Kerberos, for securing networking between clients and servers. On the data plane, the Kyuubi engines use the same trusted client identities to instantiate themselves. The resource acquirement and data0 码力 | 211 页 | 3.79 MB | 2 年前3
Django 5.0.x Documentation• Write views that actually do something • Raising a 404 error • Use the template system • Removing hardcoded URLs in templates • Namespacing URL names Working with form templates Further topics Templates - The Django template language - Support for template engines Class-based views - Introduction to class-based views - Built-in class-based Django's cache framework - Setting up the cache - The per-site cache - The per-view cache - Template fragment caching - The low-level cache API - Asynchronous support - Downstream caches - Using0 码力 | 3407 页 | 3.21 MB | 2 年前3
Back to Basics Conceptsjosuttis.com 3 josuttis | eckstein IT communication ## Generic Function to Insert a Value C++98 templatevoid add(CollT& coll, const T& val) { coll.push_back(val); me> Overloading Function Templates template void add(CollT& coll, const T& val) { coll.push_back(val); } template communication Constraints with Concepts C++20 template concept HasPushBack = requires (CollT c, CollT::value_type v) { c.push_back(v); }; template requires 0 码力 | 23 页 | 2.14 MB | 1 年前3
Beautiful Native Mobile Apps with NativeScript and OpenEdgea1ad2e19b/p1_1.jpg) ## Agenda OpenEdge Data Service Architecture JSDO DataSource ☐ Starter Template ■ Demo ■ Next Steps ## Progress $ ^{®} $ OpenEdge $ ^{®} $  ## Starter Template ☑ Create using: • tns create--template tns-template-master-detail-progress-ng ail-progress-ng ☑ Based on the NativeScript template-master-detail-ng ■ Provides CRUD support ☑ Optional login page with the following authentication models: • Anonymous Basic Form EXPLORER0 码力 | 27 页 | 1.54 MB | 2 年前3
Django 5.1.2 Documentation3 How the documentation is organized 2 1.4 The model layer 2 1.5 The view layer 2 1.6 The template layer 3 1.7 Forms 3 1.8 The development process 3 1.9 The admin 4 1.10 Security 4 1.11 777 4.5 How to write custom lookups 792 4.6 How to implement a custom template backend 798 4.7 How to create custom template tags and filters 802 4.8 How to write a custom storage class 823 4.9 CSV | Generating PDF • Middleware: Overview | Built-in middleware classes ### 1.6 The template layer The template layer provides a designer-friendly syntax for rendering the information to be presented0 码力 | 2923 页 | 9.62 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
metaprogramming techniquestype traitsspecializationprimary templatemetafunctionsTemplate Metaprogrammingboost.mp11Circle-langvalue-based metaprogrammingcompile timeSpring BootMavenGradleServlet containerstemplate enginesMultiple template enginesSecurity enhancementsPostgreSQL specific functionalityNew data typesQuery Expressionsvariadic templatesfold expressionstemplate template parametersvariable templatesSFINAEmulti-tenancyHigh Availabilitysecuritydistributed SQL query enginesKyuubiDjangoORMadmintemplateformconceptcollttrequiresJSDONativeScriptOpenEdgeDataSourceStarter Templatetemplate layerformsdevelopment processmiddleware













