Template Metaprogramming: Type Traits
Template Metaprogramming: Type Traits Part 1 CppCon 2020 1 Jody Hagins jhagins@maystreet.com coachhagins@gmail.comTemplate Metaprogramming: Type Traits CppCon 2020 2 IntroductionIntended Audience oriented: shallow depth, slow current • Not necessarily beginner to C++, but beginner to traditional template metaprogramming techniques 3Intended 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 3Intended Audience0 码力 | 403 页 | 5.30 MB | 5 月前3Template-Less Meta-Programming
1 / 58Template Metaprogramming (TMP) Template Metaprogramming (TMP) templateusing meta_fun = this_talk ; 2 / 58❓static_assert(Template::Metaprogramming::is_hard); // ✔ 3 / 58❓s 58❓static_assert(Template::Metaprogramming::is_hard); // ✔ ❓static_assert(Template::Metaprogramming::is_powerful); // ✔ 3 / 58❓static_assert(Template::Metaprogramming::is_hard); // ✔ ❓static_assert( ❓static_assert(Template::Metaprogramming::is_powerful); // ✔ ❓static_assert(( Template::Metaprogramming::is_easy and Template::Metaprogramming::is_powerful and Template::Metaprogramming::has_nice_error_messages 0 码力 | 130 页 | 5.79 MB | 5 月前3THE FIRST EXPLORATION OF PROJECT SPARROW
0 码力 | 68 页 | 13.14 MB | 1 年前3Django 1.8.x Documentation
first view 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 app Django Form classes 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 class-based Installation Usage 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 Controlling cache:0 码力 | 2454 页 | 2.85 MB | 1 年前3Django 1.8.x Documentation
. . . . . . . . . . . . 1 1.3 The model layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.4 The view layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.5 The template layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.6 Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 529 4.5 Custom template tags and filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5340 码力 | 1685 页 | 6.01 MB | 1 年前3Django 1.10.x Documentation
Overview 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 app Django Form classes 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 class-based Installation Usage 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 Controlling cache:0 码力 | 2538 页 | 2.59 MB | 1 年前3Django 1.10.x Documentation
. . . . . . . . . . . . 2 1.4 The model layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.5 The view layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.6 The template layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.7 Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555 4.5 Custom template tags and filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5590 码力 | 1817 页 | 6.19 MB | 1 年前3Django 1.11.x Documentation
Overview 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 app Django Form classes 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 class-based Installation Usage 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 Controlling cache:0 码力 | 2747 页 | 2.67 MB | 1 年前3Django 1.11.x Documentation
. . . . . . . . . . . . 2 1.4 The model layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.5 The view layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.6 The template layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.7 Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 561 4.5 Custom template tags and filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5660 码力 | 1878 页 | 6.40 MB | 1 年前3Django 2.0.x Documentation
Overview 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 app Django Form classes 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 class-based Installation Usage 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 Controlling cache:0 码力 | 2746 页 | 2.67 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100