src/work/deba/invalid.h
changeset 1282 81e89e2b90d1
parent 701 c03e073b8394
equal deleted inserted replaced
1:db447309b475 2:d7b175aaf54e
     1 // -*- mode:C++ -*-
     1 // -*- mode:C++ -*-
     2 
     2 
     3 #ifndef HUGO_INVALID_H
     3 #ifndef LEMON_INVALID_H
     4 #define HUGO_INVALID_H
     4 #define LEMON_INVALID_H
     5 
     5 
     6 ///\file
     6 ///\file
     7 ///\brief Definition of INVALID.
     7 ///\brief Definition of INVALID.
     8 
     8 
     9 namespace hugo {
     9 namespace lemon {
    10 
    10 
    11   /// Dummy type to make it easier to make invalid iterators.
    11   /// Dummy type to make it easier to make invalid iterators.
    12   
    12   
    13   /// See \ref INVALID, how to use it.
    13   /// See \ref INVALID, how to use it.
    14   
    14   
    30   //extern Invalid INVALID;
    30   //extern Invalid INVALID;
    31 
    31 
    32   //const Invalid &INVALID = *(Invalid *)0;
    32   //const Invalid &INVALID = *(Invalid *)0;
    33   const Invalid INVALID = Invalid();
    33   const Invalid INVALID = Invalid();
    34 
    34 
    35 } //namespace hugo
    35 } //namespace lemon
    36 
    36 
    37 #endif
    37 #endif
    38   
    38