From 447e060b81b601909c106fdb6ed676db9eed7c28 Mon Sep 17 00:00:00 2001 From: MattPD Date: Mon, 11 May 2015 16:50:18 +0000 Subject: [Doc] Fix wording / typos in TemplateKeyword.dox --- doc/TemplateKeyword.dox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/TemplateKeyword.dox') diff --git a/doc/TemplateKeyword.dox b/doc/TemplateKeyword.dox index c9944ae05..e06aba7ba 100644 --- a/doc/TemplateKeyword.dox +++ b/doc/TemplateKeyword.dox @@ -85,11 +85,11 @@ The precise rules are rather complicated, but ignoring some subtleties we can su - A dependent name is name that depends (directly or indirectly) on a template parameter. In the example, \c dst is a dependent name because it is of type MatrixBase<Derived1> which depends on the template parameter \c Derived1. -- If the code contains either one of the contructions xxx.yyy or xxx->yyy and \c xxx is a +- If the code contains either one of the constructs xxx.yyy or xxx->yyy and \c xxx is a dependent name and \c yyy refers to a member template, then the \c template keyword must be used before \c yyy, leading to xxx.template yyy or xxx->template yyy. -- If the code contains the contruction xxx::yyy and \c xxx is a dependent name and \c yyy refers to a - member typedef, then the \c typename keyword must be used before the whole construction, leading to +- If the code contains the construct xxx::yyy and \c xxx is a dependent name and \c yyy refers to a + member typedef, then the \c typename keyword must be used before the whole construct, leading to typename xxx::yyy. As an example where the \c typename keyword is required, consider the following code in \ref TutorialSparse -- cgit v1.2.3