COIN-OR::LEMON - Graph Library

Changeset 1965:71b3bc042c47 in lemon-0.x for lemon/bits


Ignore:
Timestamp:
02/07/06 10:20:47 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2542
Message:

Compilation with G++ -ansi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bits/default_map.h

    r1961 r1965  
    3434  template <typename _Graph, typename _Item, typename _Value>
    3535  struct DefaultMapSelector {
    36     typedef ArrayMap<_Graph, _Item, _Value> Map;
     36    typedef VectorMap<_Graph, _Item, _Value> Map;
    3737  };
    3838
     
    9595  };
    9696
    97   // \todo handling long long type
     97
     98#ifndef __STRICT_ANSI__
     99
     100  // long long
     101  template <typename _Graph, typename _Item>
     102  struct DefaultMapSelector<_Graph, _Item, signed long long> {
     103    typedef VectorMap<_Graph, _Item, signed long long> Map;
     104  };
     105
     106  template <typename _Graph, typename _Item>
     107  struct DefaultMapSelector<_Graph, _Item, unsigned long long> {
     108    typedef VectorMap<_Graph, _Item, unsigned long long> Map;
     109  };
     110
     111#endif
    98112
    99113
Note: See TracChangeset for help on using the changeset viewer.