Template Metaprogramming: Type TraitsTemplate Metaprogramming: Type Traits Part 1 CppCon 2020 1 Jody Hagins jhagins@maystreet.com coachhagins@gmail.comTemplate Metaprogramming: Type Traits CppCon 2020 2 IntroductionIntended Audience necessarily beginner to C++, but beginner to traditional template metaprogramming techniques • Type traits part of standard library for ~10 years 3Intended Audience • Beginner/Intermediate • Gentle necessarily beginner to C++, but beginner to traditional template metaprogramming techniques • Type traits part of standard library for ~10 years • Fundamentals have been in use for ~20 years 3Intended0 码力 | 403 页 | 5.30 MB | 6 月前3
JAVA 应用与开发 - 泛型0 码力 | 35 页 | 587.40 KB | 1 年前3
Mypy 1.8.0 Documentationdocumentation! Mypy is a static type checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 [https://peps.python Unsupported operand types for + ("str" and "int") Adding type hints for mypy does not interfere with the way your program would otherwise run. Think of type hints as similar to comments! You can always use the means you can add type hints to your code base slowly and that you can always fall back to dynamic typing when static typing is not convenient. Mypy has a powerful and easy-to-use type system, supporting0 码力 | 318 页 | 271.55 KB | 1 年前3
Mypy 1.8.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Type hints cheat sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.5 Type inference and type annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.6 . . . . . . . . . . . . . . 55 1.11 Type narrowing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 1.12 Duck type compatibility . . . . . . . . . . . .0 码力 | 234 页 | 902.89 KB | 1 年前3
Mypy 1.10.0+dev Documentationdocumentation! Mypy is a static type checker for Python. Type checkers help ensure that you’re using variables and functions in your code correctly. With mypy, add type hints (PEP 484 [https://peps.python Unsupported operand types for + ("str" and "int") Adding type hints for mypy does not interfere with the way your program would otherwise run. Think of type hints as similar to comments! You can always use the means you can add type hints to your code base slowly and that you can always fall back to dynamic typing when static typing is not convenient. Mypy has a powerful and easy-to-use type system, supporting0 码力 | 318 页 | 270.84 KB | 1 年前3
Mypy 1.10.0+dev Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Type hints cheat sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.5 Type inference and type annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.6 . . . . . . . . . . . . . . 54 1.11 Type narrowing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 1.12 Duck type compatibility . . . . . . . . . . . .0 码力 | 234 页 | 913.89 KB | 1 年前3
Agda User Manual v2.6.2.2Language Reference Abstract definitions Built-ins Coinduction Copatterns Core language Coverage Checking Cubical Cumulativity Data Types Flat Modality Foreign Function Interface Function Definitions Function Positivity Checking Postulates Pragmas Prop Record Types Reflection Rewriting Run-time Irrelevance Safe Agda Sized Types Sort System Syntactic Sugar Syntax Declarations Telescopes Termination Checking Universe page [https://github.com/agda/agda]. This is the manual for the Agda programming language, its type checking, compilation and editing system and related resources/tools. The latest PDF version of this manual0 码力 | 354 页 | 433.60 KB | 1 年前3
Agda User Manual v2.6.2.1Language Reference Abstract definitions Built-ins Coinduction Copatterns Core language Coverage Checking Cubical Cumulativity Data Types Flat Modality Foreign Function Interface Function Definitions Function Positivity Checking Postulates Pragmas Prop Record Types Reflection Rewriting Run-time Irrelevance Safe Agda Sized Types Sort System Syntactic Sugar Syntax Declarations Telescopes Termination Checking Universe page [https://github.com/agda/agda]. This is the manual for the Agda programming language, its type checking, compilation and editing system and related resources/tools. The latest PDF version of this manual0 码力 | 350 页 | 416.80 KB | 1 年前3
Agda User Manual v2.6.2Language Reference Abstract definitions Built-ins Coinduction Copatterns Core language Coverage Checking Cubical Cumulativity Data Types Flat Modality Foreign Function Interface Function Definitions Function Positivity Checking Postulates Pragmas Prop Record Types Reflection Rewriting Run-time Irrelevance Safe Agda Sized Types Sort System Syntactic Sugar Syntax Declarations Telescopes Termination Checking Universe page [https://github.com/agda/agda]. This is the manual for the Agda programming language, its type checking, compilation and editing system and related resources/tools. The latest PDF version of this manual0 码力 | 348 页 | 414.11 KB | 1 年前3
Agda User Manual v2.6.3Language Reference Abstract definitions Built-ins Coinduction Copatterns Core language Coverage Checking Cubical Cubical compatible Cumulativity Data Types Flat Modality Foreign Function Interface Function Positivity Checking Postulates Pragmas Prop Record Types Reflection Rewriting Run-time Irrelevance Safe Agda Sized Types Sort System Syntactic Sugar Syntax Declarations Telescopes Termination Checking Two-Level Two-Level Type Theory Universe Levels With-Abstraction Without K Tools Automatic Proof Search (Auto) Command-line options Compilers Emacs Mode Literate Programming Generating HTML Generating LaTeX Interface0 码力 | 379 页 | 354.83 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













