BDE 4.14.0 Production release
|
#include <bdlb_caselessstringviewless.h>
Public Types | |
typedef bsl::string_view | first_argument_type |
typedef bsl::string_view | second_argument_type |
typedef bool | result_type |
typedef void | is_transparent |
Type alias indicating this is a transparent hash functor. | |
Public Member Functions | |
BSLMF_NESTED_TRAIT_DECLARATION (CaselessStringViewLess, bsl::is_trivially_copyable) | |
BSLMF_NESTED_TRAIT_DECLARATION (CaselessStringViewLess, bsl::is_trivially_default_constructible) | |
CaselessStringViewLess ()=default | |
Create a CaselessStringViewLess object. | |
CaselessStringViewLess (const CaselessStringViewLess &original)=default | |
~CaselessStringViewLess ()=default | |
Destroy this object. | |
CaselessStringViewLess & | operator= (const CaselessStringViewLess &rhs)=default |
bool | operator() (bsl::string_view lhs, bsl::string_view rhs) const |
This struct
defines an ordering on string views, enabling them for use as keys in the standard associative containers such as bsl::map
and bsl::set
. Note that this class is an empty POD type.
typedef void bdlb::CaselessStringViewLess::is_transparent |
typedef bool bdlb::CaselessStringViewLess::result_type |
|
default |
|
default |
Create a CaselessStringViewLess
object. Note that as CaselessStringViewLess
is an empty (stateless) type, this operation has no observable effect.
|
default |
bdlb::CaselessStringViewLess::BSLMF_NESTED_TRAIT_DECLARATION | ( | CaselessStringViewLess | , |
bsl::is_trivially_copyable | |||
) |
bdlb::CaselessStringViewLess::BSLMF_NESTED_TRAIT_DECLARATION | ( | CaselessStringViewLess | , |
bsl::is_trivially_default_constructible | |||
) |
|
inline |
Return true
if the specified lhs
is lexicographically ordered before the specified rhs
, and false
otherwise.
|
default |
Assign to this object the value of the specified rhs
object, and return a reference providing modifiable access to this object. Note that as CaselessStringViewLess
is an empty (stateless) type, this operation has no observable effect.