LLDB  mainline
Public Member Functions | List of all members
lldb_private::ConstString::StringIsEqual Struct Reference

C string equality binary predicate function object for ConstString objects. More...

#include <ConstString.h>

Public Member Functions

bool operator() (const char *lhs, const char *rhs) const
 C equality test. More...
 

Detailed Description

C string equality binary predicate function object for ConstString objects.

Definition at line 83 of file ConstString.h.

Member Function Documentation

◆ operator()()

bool lldb_private::ConstString::StringIsEqual::operator() ( const char *  lhs,
const char *  rhs 
) const
inline

C equality test.

Two C strings are equal when they are contained in ConstString objects when their pointer values are equal to each other.

Returns
Returns true if the C string in lhs is equal to the C string value in rhs, false otherwise.

Definition at line 92 of file ConstString.h.


The documentation for this struct was generated from the following file: