General Purpose library for Freestanding C++ and POSIX systems
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
553 B

  1. #pragma once
  2. // TODO: Specify the concept of an iterator
  3. namespace gp {
  4. /**
  5. * @brief An enumeration that may be used to determine iterator categories
  6. *
  7. */
  8. enum class iterator_type_t{
  9. contiguous_iterator, /**< Defines an iterator for something that is continuous and random access */
  10. non_contiguous_iterator, /**< Defines an iterator for a non contiguous datastructure, for example an iterator over a hashmap or a tree */
  11. lazy_iterator /**< Defines an iterator for which the actual data layout and availability are still unknown */
  12. };
  13. }