COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/alpar/invalid.h @ 183:ee62b0d90933

Last change on this file since 183:ee62b0d90933 was 169:940b13aba5ff, checked in by Mihaly Barasz, 20 years ago

egy kicsit szebb INVALID

File size: 515 bytes
Line 
1// -*- mode:C++ -*-
2
3#ifndef HUGO_INVALID_H
4#define HUGO_INVALID_H
5
6namespace hugo {
7
8  /// Dummy type to make it easier to make invalid iterators.
9 
10  /// See \ref INVALID, how to use it.
11 
12  struct Invalid {};
13 
14  /// Invalid iterators.
15 
16  /// \ref Invalid is a global type that converts to each iterator
17  /// in such a way that the value of the target iterator will be invalid.
18 
19  //extern Invalid INVALID;
20
21  //const Invalid &INVALID = *(Invalid *)0;
22  const Invalid INVALID = Invalid();
23
24};
25
26#endif
27 
Note: See TracBrowser for help on using the repository browser.