tlx
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 <tb@panthema.net>
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
16namespace tlx {
17
18//! \addtogroup tlx_string
19//! \{
20
21/******************************************************************************/
22// equal_icase()
23
24//! returns true if a == b without regard for letter case
25bool equal_icase(const char* a, const char* b);
26
27//! returns true if a == b without regard for letter case
28bool equal_icase(const char* a, const std::string& b);
29
30//! returns true if a == b without regard for letter case
31bool equal_icase(const std::string& a, const char* b);
32
33//! returns true if a == b without regard for letter case
34bool 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