src/hugo/maps.h
changeset 911 89a4fbb99cad
parent 906 17f31d280385
     1.1 --- a/src/hugo/maps.h	Mon Sep 27 18:11:27 2004 +0000
     1.2 +++ b/src/hugo/maps.h	Tue Sep 28 07:00:58 2004 +0000
     1.3 @@ -35,9 +35,9 @@
     1.4    class MapBase
     1.5    {
     1.6    public:
     1.7 -    /// .
     1.8 +    ///\e
     1.9      typedef K KeyType;
    1.10 -    /// .
    1.11 +    ///\e
    1.12      typedef T ValueType;
    1.13    };
    1.14  
    1.15 @@ -74,9 +74,10 @@
    1.16      /// The value of the map will be uninitialized. 
    1.17      /// (More exactly it will be default constructed.)
    1.18      ConstMap() {}
    1.19 -    /// .
    1.20 +    ///\e
    1.21  
    1.22      /// \param _v The initial value of the map.
    1.23 +    ///
    1.24      ConstMap(const T &_v) : v(_v) {}
    1.25  
    1.26      T operator[](const K&) const { return v; }