src/lemon/invalid.h
changeset 973 6a6f3ac07b20
parent 906 17f31d280385
child 1164 80bb73097736
equal deleted inserted replaced
1:fc8cf4b492a4 0:f7d19ee1ba7c
     1 /* -*- C++ -*-
     1 /* -*- C++ -*-
     2  * src/hugo/invalid.h - Part of HUGOlib, a generic C++ optimization library
     2  * src/lemon/invalid.h - Part of LEMON, a generic C++ optimization library
     3  *
     3  *
     4  * Copyright (C) 2004 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     4  * Copyright (C) 2004 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     5  * (Egervary Combinatorial Optimization Research Group, EGRES).
     5  * (Egervary Combinatorial Optimization Research Group, EGRES).
     6  *
     6  *
     7  * Permission to use, modify and distribute this software is granted
     7  * Permission to use, modify and distribute this software is granted
    12  * express or implied, and with no claim as to its suitability for any
    12  * express or implied, and with no claim as to its suitability for any
    13  * purpose.
    13  * purpose.
    14  *
    14  *
    15  */
    15  */
    16 
    16 
    17 #ifndef HUGO_INVALID_H
    17 #ifndef LEMON_INVALID_H
    18 #define HUGO_INVALID_H
    18 #define LEMON_INVALID_H
    19 
    19 
    20 ///\file
    20 ///\file
    21 ///\brief Definition of INVALID.
    21 ///\brief Definition of INVALID.
    22 
    22 
    23 namespace hugo {
    23 namespace lemon {
    24 
    24 
    25   /// Dummy type to make it easier to make invalid iterators.
    25   /// Dummy type to make it easier to make invalid iterators.
    26   
    26   
    27   /// See \ref INVALID, how to use it.
    27   /// See \ref INVALID, how to use it.
    28   
    28   
    44   //extern Invalid INVALID;
    44   //extern Invalid INVALID;
    45 
    45 
    46   //const Invalid &INVALID = *(Invalid *)0;
    46   //const Invalid &INVALID = *(Invalid *)0;
    47   const Invalid INVALID = Invalid();
    47   const Invalid INVALID = Invalid();
    48 
    48 
    49 } //namespace hugo
    49 } //namespace lemon
    50 
    50 
    51 #endif
    51 #endif
    52   
    52