1 #ifndef STRINGSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 2 #define STRINGSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 20 bool operator !()
const {
return !
static_cast<bool>(*this); }
24 if(static_cast<int> (source.
m_offset) + i >= 0)
47 #endif // STRINGSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
StringCharSource & operator+=(std::size_t offset)
const StringCharSource operator+(int i) const
StringCharSource(const char *str, std::size_t size)
char operator[](std::size_t i) const
StringCharSource & operator++()