MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
equal_icase.h
1/* miktex/Core/equal_icase.h: -*- C++ -*-
2
3 Copyright (C) 1996-2018 Christian Schenk
4
5 This file is part of the MiKTeX Core Library.
6
7 The MiKTeX Core Library is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2, or
10 (at your option) any later version.
11
12 The MiKTeX Core Library is distributed in the hope that it will be
13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
14 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with the MiKTeX Core Library; if not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
21
22#pragma once
23
24#if !defined(C6B6E5C28EDD474CF814443A86F1CE80)
25#define C6B6E5C28EDD474CF814443A86F1CE80
26
27#include <miktex/Core/config.h>
28
29#include <string>
30
31#include "Utils.h"
32
33MIKTEX_CORE_BEGIN_NAMESPACE;
34
36{
37public:
38 bool operator()(const std::string& str1, const std::string& str2) const
39 {
40 return Utils::EqualsIgnoreCase(str1, str2);
41 }
42};
43
44MIKTEX_CORE_END_NAMESPACE;
45
46#endif
Definition equal_icase.h:36