Quick Links: |
#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 |
Public Member Functions | |
BSLMF_NESTED_TRAIT_DECLARATION (CaselessStringViewLess, bsl::is_trivially_copyable) | |
BSLMF_NESTED_TRAIT_DECLARATION (CaselessStringViewLess, bsl::is_trivially_default_constructible) | |
CaselessStringViewLess () | |
CaselessStringViewLess (const CaselessStringViewLess &original) | |
CaselessStringViewLess & | operator= (const CaselessStringViewLess &rhs) |
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.
See Component bdlb_caselessstringviewless
typedef bsl::string_view bdlb::CaselessStringViewLess::first_argument_type |
typedef bsl::string_view bdlb::CaselessStringViewLess::second_argument_type |
typedef bool bdlb::CaselessStringViewLess::result_type |
typedef void bdlb::CaselessStringViewLess::is_transparent |
bdlb::CaselessStringViewLess::CaselessStringViewLess | ( | ) |
Create a CaselessStringViewLess
object.
bdlb::CaselessStringViewLess::CaselessStringViewLess | ( | const CaselessStringViewLess & | original | ) |
default; Create a CaselessStringViewLess
object. Note that as CaselessStringViewLess
is an empty (stateless) type, this operation has no observable effect. Destroy this object.
bdlb::CaselessStringViewLess::BSLMF_NESTED_TRAIT_DECLARATION | ( | CaselessStringViewLess | , | |
bsl::is_trivially_copyable | ||||
) |
bdlb::CaselessStringViewLess::BSLMF_NESTED_TRAIT_DECLARATION | ( | CaselessStringViewLess | , | |
bsl::is_trivially_default_constructible | ||||
) |
CaselessStringViewLess& bdlb::CaselessStringViewLess::operator= | ( | const CaselessStringViewLess & | rhs | ) |
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. Return true
if the specified lhs
is lexicographically ordered before the specified rhs
, and false
otherwise.