Changeset 898 for trunk/yat/utility


Ignore:
Timestamp:
Sep 26, 2007, 3:44:19 PM (14 years ago)
Author:
Markus Ringnér
Message:

A first suggestion for how to adress #250. Also removed contamination of namespace std (see #251).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/IteratorWeighted.h

    r897 r898  
    77#include <stddef.h>
    88
    9 namespace std {
    10   struct weighted_random_access_iterator_tag
    11     : public random_access_iterator_tag {
    12   };
    13 }
     9// namespace std {
     10// struct weighted_random_access_iterator_tag
     11//    : public random_access_iterator_tag {
     12// };
     13// }
    1414
    1515
     
    1717namespace yat {
    1818namespace utility {
     19
     20  struct weighted_random_access_iterator_tag
     21    : public std::random_access_iterator_tag {
     22  };
    1923
    2024  /**
     
    2529  {
    2630  public:
    27     typedef std::weighted_random_access_iterator_tag iterator_category;
     31    typedef weighted_random_access_iterator_tag iterator_category;
    2832    typedef double value_type;
    2933    typedef size_t difference_type;
Note: See TracChangeset for help on using the changeset viewer.