MRPT  1.9.9
traits_map.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #pragma once
10 
12 
13 namespace mrpt::containers
14 {
15 /** \addtogroup stlext_grp
16  * @{ */
17 
18 /** @name Trait helper classes for templatized selection of a std::map
19  implementation
20  @{ */
21 
22 /** Traits for using a std::map<> (sparse representation) \sa
23  * map_traits_map_as_vector */
25 {
26  template <class KEY, class VALUE>
27  using map = std::map<KEY, VALUE>;
28 };
29 
30 /** Traits for using a mrpt::containers::map_as_vector<> (dense, fastest
31  * representation) \sa map_traits_stdmap */
33 {
34  template <class KEY, class VALUE>
36 };
37 
38 /** @} */
39 /** @} */ // end of grouping
40 
41 } // namespace mrpt::containers
std::map< KEY, VALUE > map
Definition: traits_map.h:27
A STL-like container which looks and behaves (almost exactly) like a std::map<> but is implemented as...
Definition: map_as_vector.h:55
Traits for using a std::map<> (sparse representation)
Definition: traits_map.h:24
Traits for using a mrpt::containers::map_as_vector<> (dense, fastest representation) ...
Definition: traits_map.h:32



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 24b95e159 Thu Jan 23 01:15:46 2020 +0100 at jue ene 23 01:30:10 CET 2020