mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 03:09:01 +08:00
Docs: correct declaration of aligned std::map in TopicStlContainers.
This commit is contained in:
parent
b4fa8261b1
commit
9ba15cd63c
@ -26,7 +26,8 @@ std::map<int, Eigen::Vector4f>
|
|||||||
\endcode
|
\endcode
|
||||||
you need to use
|
you need to use
|
||||||
\code
|
\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
|
\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 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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user