aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/QuickReference.dox
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2011-09-10 09:18:18 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2011-09-10 09:18:18 +0100
commit59b83c14fd2bec0b8c8afa7a2fa0357af7f0f827 (patch)
tree122dbf8cc5fe742070911a11bdc108db17510bbb /doc/QuickReference.dox
parent3e7aaadb1dcd0500a4a874f4036bd3489b3b8dd0 (diff)
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).
Diffstat (limited to 'doc/QuickReference.dox')
-rw-r--r--doc/QuickReference.dox6
1 files changed, 6 insertions, 0 deletions
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.
+
<table class="example">
<tr><th>Operation</th><th>Code</th></tr>
<tr><td>
@@ -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.
+
<table class="example">
<tr><th>Operation</th><th>Code</th></tr>
<tr><td>