/usr/include/ITK-4.5/vcl_iterator.h is in libinsighttoolkit4-dev 4.5.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | #ifndef vcl_iterator_h_
#define vcl_iterator_h_
#include "vcl_compiler.h"
// This file should aim to provide at least the following :
//
// vcl_iterator_traits<>
// vcl_iterator<>
// vcl_reverse_iterator<>
// vcl_istream_iterator<>
// vcl_ostream_iterator<>
// vcl_back_insert_iterator<>
// vcl_front_insert_iterator<>
// vcl_insert_iterator<>
//
// vcl_input_iterator_tag
// vcl_output_iterator_tag
// vcl_forward_iterator_tag : public vcl_iterator_tag
// vcl_bidirectional_iterator_tag : public vcl_forward_iterator_tag
// vcl_random_access_iterator_tag : public vcl_bidirectional_iterator_tag
//
// vcl_advance()
// vcl_distance()
//
// Note that there is no ISO forward_iterator<>; it's just called iterator<>.
// ---------- emulation
#if !VCL_USE_NATIVE_STL
# include "emulation/vcl_iterator.h"
# define vcl_iterator vcl_forward_iterator
// ---------- later versions of gcc, e.g. egcs and 2.95
#elif defined(VCL_GCC_EGCS) && !defined(GNU_LIBSTDCXX_V3)
# include <iterator.h>
# define vcl_iterator_traits /*std::*/iterator_traits
# define vcl_iterator /*non-std*/forward_iterator
# define vcl_reverse_iterator /*std::*/reverse_iterator
# define vcl_istream_iterator /*std::*/istream_iterator
# define vcl_ostream_iterator /*std::*/ostream_iterator
// These two are also defined in generic/vcl_iosfwd.h:
#ifndef vcl_istreambuf_iterator
# define vcl_istreambuf_iterator /*std::*/istreambuf_iterator
#endif
#ifndef vcl_ostreambuf_iterator
# define vcl_ostreambuf_iterator /*std::*/ostreambuf_iterator
#endif
# define vcl_back_insert_iterator /*std::*/back_insert_iterator
# define vcl_front_insert_iterator /*std::*/front_insert_iterator
# define vcl_insert_iterator /*std::*/insert_iterator
# define vcl_inserter /*std::*/inserter
# define vcl_back_inserter /*std::*/back_inserter
# define vcl_front_inserter /*std::*/front_inserter
# define vcl_input_iterator_tag /*std::*/input_iterator_tag
# define vcl_output_iterator_tag /*std::*/output_iterator_tag
# define vcl_forward_iterator_tag /*std::*/forward_iterator_tag
# define vcl_bidirectional_iterator_tag /*std::*/bidirectional_iterator_tag
# define vcl_random_access_iterator_tag /*std::*/random_access_iterator_tag
# define vcl_advance /*std::*/advance
# define vcl_distance /*std::*/distance
// ---------- ISO
#else
# include "iso/vcl_iterator.h"
// SUNPRO 5 has no reverse_bidirectional_iterator
// vc has no raw_storage_iterator
#endif
#if VCL_USE_IMPLICIT_TEMPLATES
# include "vcl_iterator.txx"
#endif
#endif // vcl_iterator_h_
|