lemon/bits/default_map.h
changeset 314 2cc60866a0c9
parent 313 64f8f7cc6168
child 463 88ed40ad0d4f
child 515 7992dcb0d0e6
equal deleted inserted replaced
3:f91898ebd2d5 4:1fa09881551b
    17  */
    17  */
    18 
    18 
    19 #ifndef LEMON_BITS_DEFAULT_MAP_H
    19 #ifndef LEMON_BITS_DEFAULT_MAP_H
    20 #define LEMON_BITS_DEFAULT_MAP_H
    20 #define LEMON_BITS_DEFAULT_MAP_H
    21 
    21 
    22 
       
    23 #include <lemon/bits/array_map.h>
    22 #include <lemon/bits/array_map.h>
    24 #include <lemon/bits/vector_map.h>
    23 #include <lemon/bits/vector_map.h>
    25 //#include <lemon/bits/debug_map.h>
    24 //#include <lemon/bits/debug_map.h>
    26 
    25 
    27 ///\ingroup graphbits
    26 //\ingroup graphbits
    28 ///\file
    27 //\file
    29 ///\brief Graph maps that construct and destruct their elements dynamically.
    28 //\brief Graph maps that construct and destruct their elements dynamically.
    30 
    29 
    31 namespace lemon {
    30 namespace lemon {
    32 
    31 
    33 
    32 
    34   //#ifndef LEMON_USE_DEBUG_MAP
    33   //#ifndef LEMON_USE_DEBUG_MAP
   147 //     typedef DebugMap<_Graph, _Item, _Value> Map;
   146 //     typedef DebugMap<_Graph, _Item, _Value> Map;
   148 //   };
   147 //   };
   149 
   148 
   150 // #endif
   149 // #endif
   151 
   150 
   152   /// DefaultMap class
   151   // DefaultMap class
   153   template <typename _Graph, typename _Item, typename _Value>
   152   template <typename _Graph, typename _Item, typename _Value>
   154   class DefaultMap
   153   class DefaultMap
   155     : public DefaultMapSelector<_Graph, _Item, _Value>::Map {
   154     : public DefaultMapSelector<_Graph, _Item, _Value>::Map {
   156   public:
   155   public:
   157     typedef typename DefaultMapSelector<_Graph, _Item, _Value>::Map Parent;
   156     typedef typename DefaultMapSelector<_Graph, _Item, _Value>::Map Parent;