Function operator[]

Synopsis

#include <include/internal/catch_stringref.h>

auto operator[](size_type index) const noexcept -> char

Description

No description yet.

Source

Lines 56-59 in include/internal/catch_stringref.h.

auto operator[] ( size_type index ) const noexcept -> char {
    assert(index < m_size);
    return m_start[index];
}





Add Discussion as Guest

Log in