From 59b83c14fd2bec0b8c8afa7a2fa0357af7f0f827 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Sat, 10 Sep 2011 09:18:18 +0100 Subject: Write page on template and typename keywords in C++. After yet another question on the forum, I decided to write something on this common issue. Now we just need to link to this and get people to read it. Thanks to mattb on the forum for some links. Caveat: IANALL (I am not a language lawyer). --- doc/QuickReference.dox | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/QuickReference.dox') diff --git a/doc/QuickReference.dox b/doc/QuickReference.dox index a578d15a6..68845772d 100644 --- a/doc/QuickReference.dox +++ b/doc/QuickReference.dox @@ -586,6 +586,9 @@ mat3 = mat1 * diag1.inverse() TriangularView gives a view on a triangular part of a dense matrix and allows to perform optimized operations on it. The opposite triangular part is never referenced and can be used to store other information. +\note The .triangularView() template member function requires the \c template keyword if it is used on an +object of a type that depends on a template parameter; see \ref TopicTemplateKeyword for details. +
OperationCode
@@ -630,6 +633,9 @@ Just as for triangular matrix, you can reference any triangular part of a square matrix and perform special and optimized operations. Again the opposite triangular part is never referenced and can be used to store other information. +\note The .selfadjointView() template member function requires the \c template keyword if it is used on an +object of a type that depends on a template parameter; see \ref TopicTemplateKeyword for details. +
OperationCode
-- cgit v1.2.3