Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -53,7 +53,7 @@ class Foundation_API TextBufferIterator
public:
TextBufferIterator();
/// Creates an uninitialized TextBufferIterator.
TextBufferIterator(const char* begin, const TextEncoding& encoding);
/// Creates a TextBufferIterator for the given buffer, which must be 0-terminated.
/// The encoding object must not be deleted as long as the iterator
@@ -74,37 +74,37 @@ public:
~TextBufferIterator();
/// Destroys the TextBufferIterator.
TextBufferIterator(const TextBufferIterator& it);
/// Copy constructor.
TextBufferIterator& operator = (const TextBufferIterator& it);
/// Assignment operator.
void swap(TextBufferIterator& it) noexcept;
/// Swaps the iterator with another one.
int operator * () const;
/// Returns the Unicode value of the current character.
/// If there is no valid character at the current position,
/// -1 is returned.
TextBufferIterator& operator ++ ();
TextBufferIterator& operator ++ ();
/// Prefix increment operator.
TextBufferIterator operator ++ (int);
TextBufferIterator operator ++ (int);
/// Postfix increment operator.
bool operator == (const TextBufferIterator& it) const;
/// Compares two iterators for equality.
bool operator != (const TextBufferIterator& it) const;
/// Compares two iterators for inequality.
TextBufferIterator end() const;
/// Returns the end iterator for the range handled
/// by the iterator.
private:
const TextEncoding* _pEncoding;
const char* _it;