Thrill
0.1
contains.hpp
Go to the documentation of this file.
1
/*******************************************************************************
2
* tlx/string/contains.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_CONTAINS_HEADER
12
#define TLX_STRING_CONTAINS_HEADER
13
14
#include <string>
15
16
namespace
tlx
{
17
18
//! \addtogroup tlx_string
19
//! \{
20
21
/******************************************************************************/
22
// contains()
23
24
//! Tests of string contains pattern
25
bool
contains
(
const
std::string
& str,
const
std::string
& pattern);
26
27
//! Tests of string contains pattern
28
bool
contains
(
const
std::string
& str,
const
char
* pattern);
29
30
//! Tests of string contains character
31
bool
contains
(
const
std::string
& str,
const
char
ch);
32
33
//! \}
34
35
}
// namespace tlx
36
37
#endif // !TLX_STRING_CONTAINS_HEADER
38
39
/******************************************************************************/
tlx
Definition:
exclusive_scan.hpp:17
tlx::contains
bool contains(const std::string &str, const std::string &pattern)
Tests of string contains pattern.
Definition:
contains.cpp:15
thrill::mem::string
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
Definition:
allocator.hpp:220
extlib
tlx
tlx
string
contains.hpp
Generated on Mon Apr 6 2020 09:17:55 for Thrill by
1.8.13