cstriter.h 243 B

1234567891011121314
  1. #pragma once
  2. struct TCStringEndIterator {
  3. };
  4. template <class It>
  5. static inline bool operator==(It b, TCStringEndIterator) {
  6. return !*b;
  7. }
  8. template <class It>
  9. static inline bool operator!=(It b, TCStringEndIterator) {
  10. return !!*b;
  11. }