COIN-OR::LEMON - Graph Library

Changeset 1965:71b3bc042c47 in lemon-0.x


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

Location:
lemon
Files:
2 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
  • lemon/tolerance.h

    r1956 r1965  
    272272  };
    273273
     274#ifndef __STRICT_ANSI__
     275
    274276  ///Long long integer specialization of \ref Tolerance.
    275277
    276278  ///Long long integer specialization of \ref Tolerance.
     279  ///\warning This class is not ansi compatible.
    277280  ///\sa Tolerance
    278281  template<>
     
    305308  };
    306309
     310#endif
     311
    307312  /// @}
    308313
Note: See TracChangeset for help on using the changeset viewer.