aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-11-12 12:06:24 +0000
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-11-12 12:06:24 +0000
commitcad73d9cdc7120e84f5e3927a2e2dff3879d5b74 (patch)
treee60887ba103233063b03c02a889f8c3dafb97390 /doc
parentd64e68c8bceff08f4773553d8b6cd920328545cc (diff)
Correct std::map fix (two commits ago); copy fix to aligned_allocator doc.
Diffstat (limited to 'doc')
-rw-r--r--doc/D01_StlContainers.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/D01_StlContainers.dox b/doc/D01_StlContainers.dox
index 92c67c0ba..b5dbf0698 100644
--- a/doc/D01_StlContainers.dox
+++ b/doc/D01_StlContainers.dox
@@ -27,9 +27,9 @@ std::map<int, Eigen::Vector4f>
you need to use
\code
std::map<int, Eigen::Vector4f, std::less<int>,
- std::pair<const int, Eigen::aligned_allocator<Eigen::Vector4f> > >
+ Eigen::aligned_allocator<std::pair<const int, Eigen::Vector4f> > >
\endcode
-Note that here, the 3rd parameter "std::less<int>" is just the default value, we only had to specify it because we needed to specify the allocator type, that is the 4th parameter.
+Note that the third parameter "std::less<int>" is just the default value, but we have to include it because we want to specify the fourth parameter, which is the allocator type.
\section vector The case of std::vector