|
||||
File indexing completed on 2025-01-18 09:54:04
0001 0002 // Copyright Catch2 Authors 0003 // Distributed under the Boost Software License, Version 1.0. 0004 // (See accompanying file LICENSE.txt or copy at 0005 // https://www.boost.org/LICENSE_1_0.txt) 0006 0007 // SPDX-License-Identifier: BSL-1.0 0008 #ifndef CATCH_CASE_INSENSITIVE_COMPARISONS_HPP_INCLUDED 0009 #define CATCH_CASE_INSENSITIVE_COMPARISONS_HPP_INCLUDED 0010 0011 #include <catch2/internal/catch_stringref.hpp> 0012 0013 namespace Catch { 0014 namespace Detail { 0015 //! Provides case-insensitive `op<` semantics when called 0016 struct CaseInsensitiveLess { 0017 bool operator()( StringRef lhs, 0018 StringRef rhs ) const; 0019 }; 0020 0021 //! Provides case-insensitive `op==` semantics when called 0022 struct CaseInsensitiveEqualTo { 0023 bool operator()( StringRef lhs, 0024 StringRef rhs ) const; 0025 }; 0026 0027 } // namespace Detail 0028 } // namespace Catch 0029 0030 #endif // CATCH_CASE_INSENSITIVE_COMPARISONS_HPP_INCLUDED
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |