From dbe8bf02072f582422c48433e6d6e78c62da5232 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 27 Mar 2018 11:45:16 +0100 Subject: [PATCH] Fix typo Fixes #1176 --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 98b511f..a33c79c 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -17765,7 +17765,7 @@ The syntax and techniques needed are pretty horrendous. ##### Reason Template metaprogramming is hard to get right, slows down compilation, and is often very hard to maintain. -However, there are real-world examples where template metaprogramming provides better performance that any alternative short of expert-level assembly code. +However, there are real-world examples where template metaprogramming provides better performance than any alternative short of expert-level assembly code. Also, there are real-world examples where template metaprogramming expresses the fundamental ideas better than run-time code. For example, if you really need AST manipulation at compile time (e.g., for optional matrix operation folding) there may be no other way in C++.