Function operator==

Synopsis

#include <include/internal/catch_stringref.h>

auto operator==(StringRef const &other) const noexcept -> bool

Description

No description yet.

Source

Lines 36-39 in include/internal/catch_stringref.cpp. Line 51 in include/internal/catch_stringref.h.

auto StringRef::operator == ( StringRef const& other ) const noexcept -> bool {
    return m_size == other.m_size
        && (std::memcmp( m_start, other.m_start, m_size ) == 0);
}





Add Discussion as Guest

Log in