COIN-OR::LEMON - Graph Library

Changeset 1999:2ff283124dfc in lemon-0.x for lemon/bits/default_map.h


Ignore:
Timestamp:
03/06/06 11:28:37 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2609
Message:

Clarifing alteration observing system
It is directly connected now to a container

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/default_map.h

    r1996 r1999  
    1717 */
    1818
    19 #ifndef LEMON_DEFAULT_MAP_H
    20 #define LEMON_DEFAULT_MAP_H
     19#ifndef LEMON_BITS_DEFAULT_MAP_H
     20#define LEMON_BITS_DEFAULT_MAP_H
    2121
    2222
    2323#include <lemon/bits/array_map.h>
    2424#include <lemon/bits/vector_map.h>
    25 #include <lemon/bits/static_map.h>
    2625
    2726///\ingroup graphbits
    2827///\file
    29 ///\brief Graph maps that construct and destruct
    30 ///their elements dynamically.
     28///\brief Graph maps that construct and destruct their elements dynamically.
    3129
    3230namespace lemon {
     
    152150
    153151  /// \e
    154   template <
    155     typename _Graph,
    156     typename _Item,
    157     typename _Value>
     152  template <typename _Graph, typename _Item, typename _Value>
    158153  class DefaultMap
    159154    : public DefaultMapSelector<_Graph, _Item, _Value>::Map {
     
    165160    typedef typename Parent::Value Value;
    166161
    167     DefaultMap(const Graph& _g) : Parent(_g) {}
    168     DefaultMap(const Graph& _g, const Value& _v) : Parent(_g, _v) {}
     162    DefaultMap(const Graph& graph) : Parent(graph) {}
     163    DefaultMap(const Graph& graph, const Value& value)
     164      : Parent(graph, value) {}
    169165
    170166  };
Note: See TracChangeset for help on using the changeset viewer.