33 #if defined(SimpleConstRange_RECURSES)
34 #error Recursive header files inclusion detected in SimpleConstRange.h
35 #else // defined(SimpleConstRange_RECURSES)
37 #define SimpleConstRange_RECURSES
39 #if !defined SimpleConstRange_h
41 #define SimpleConstRange_h
45 #include "DGtal/base/BasicFunctors.h"
46 #include "DGtal/base/Circulator.h"
47 #include "DGtal/base/ConstIteratorAdapter.h"
48 #include "boost/concept_check.hpp"
69 template <
typename TConstIterator>
111 if (
this != &other )
138 out <<
"[SimpleConstRange]" << std::endl;
140 std::copy(
myBegin,
myEnd, ostream_iterator<Value>(out,
", ") );
149 return "SimpleConstRange";
222 #endif // !defined SimpleConstRange_h
224 #undef SimpleConstRange_RECURSES
225 #endif // else defined(SimpleConstRange_RECURSES)