Thrill  0.1
equal_icase.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * tlx/string/equal_icase.hpp
3  *
4  * Part of tlx - http://panthema.net/tlx
5  *
6  * Copyright (C) 2007-2017 Timo Bingmann <[email protected]>
7  *
8  * All rights reserved. Published under the Boost Software License, Version 1.0
9  ******************************************************************************/
10 
11 #ifndef TLX_STRING_EQUAL_ICASE_HEADER
12 #define TLX_STRING_EQUAL_ICASE_HEADER
13 
14 #include <string>
15 
16 namespace tlx {
17 
18 //! \addtogroup tlx_string
19 //! \{
20 
21 /******************************************************************************/
22 // equal_icase()
23 
24 //! returns true if a == b without regard for letter case
25 bool equal_icase(const char* a, const char* b);
26 
27 //! returns true if a == b without regard for letter case
28 bool equal_icase(const char* a, const std::string& b);
29 
30 //! returns true if a == b without regard for letter case
31 bool equal_icase(const std::string& a, const char* b);
32 
33 //! returns true if a == b without regard for letter case
34 bool equal_icase(const std::string& a, const std::string& b);
35 
36 //! \}
37 
38 } // namespace tlx
39 
40 #endif // !TLX_STRING_EQUAL_ICASE_HEADER
41 
42 /******************************************************************************/
bool equal_icase(const char *a, const char *b)
returns true if a == b without regard for letter case
Definition: equal_icase.cpp:18
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Definition: allocator.hpp:220