MPD
0.20.15
|
This class can compare one string ("needle") with lots of other strings ("haystacks") efficiently, ignoring case. More...
#include <Compare.hxx>
Public Member Functions | |
IcuCompare () | |
IcuCompare (const char *needle) noexcept | |
IcuCompare (IcuCompare &&)=default | |
IcuCompare & | operator= (IcuCompare &&)=default |
gcc_pure | operator bool () const noexcept |
gcc_pure bool | operator== (const char *haystack) const noexcept |
gcc_pure bool | IsIn (const char *haystack) const noexcept |
This class can compare one string ("needle") with lots of other strings ("haystacks") efficiently, ignoring case.
With some configurations, it can prepare a case-folded version of the needle.
Definition at line 32 of file Compare.hxx.
|
inline |
Definition at line 36 of file Compare.hxx.
|
explicitnoexcept |
|
default |
|
noexcept |
|
inlinenoexcept |
Definition at line 44 of file Compare.hxx.
|
default |
|
noexcept |