lemon/bits/invalid.h
changeset 2140 c123ac9928db
parent 1993 2115143eceea
child 2142 b089e7195664
equal deleted inserted replaced
0:f795a5073c80 1:154784fe6e1c
    38   /// Invalid iterators.
    38   /// Invalid iterators.
    39   
    39   
    40   /// \ref Invalid is a global type that converts to each iterator
    40   /// \ref Invalid is a global type that converts to each iterator
    41   /// in such a way that the value of the target iterator will be invalid.
    41   /// in such a way that the value of the target iterator will be invalid.
    42 
    42 
       
    43   //Some people didn't like this:
    43   //const Invalid &INVALID = *(Invalid *)0;
    44   //const Invalid &INVALID = *(Invalid *)0;
    44 
    45 
    45 #ifdef LEMON_ONLY_TEMPLATES
    46 #ifdef LEMON_ONLY_TEMPLATES
    46   const Invalid INVALID = Invalid();
    47   const Invalid INVALID = Invalid();
    47 #else
    48 #else