aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Jose Luis Blanco <joseluisblancoc@gmail.com>2010-11-12 10:05:41 +0000
committerGravatar Jose Luis Blanco <joseluisblancoc@gmail.com>2010-11-12 10:05:41 +0000
commit9ba15cd63cd90a4c07fe25890fc631964587ea44 (patch)
tree147269a087d81b88b16f6fcfb4c51909cd262666 /doc
parentb4fa8261b138353f2048816747cf543cd2784435 (diff)
Docs: correct declaration of aligned std::map in TopicStlContainers.
Diffstat (limited to 'doc')
-rw-r--r--doc/D01_StlContainers.dox3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/D01_StlContainers.dox b/doc/D01_StlContainers.dox
index e6c96c679..92c67c0ba 100644
--- a/doc/D01_StlContainers.dox
+++ b/doc/D01_StlContainers.dox
@@ -26,7 +26,8 @@ std::map<int, Eigen::Vector4f>
\endcode
you need to use
\code
-std::map<int, Eigen::Vector4f, std::less<int>, Eigen::aligned_allocator<Eigen::Vector4f> >
+std::map<int, Eigen::Vector4f, std::less<int>,
+ std::pair<const int, Eigen::aligned_allocator<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.