Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions

bdlb::CaselessStringViewLess Struct Reference

#include <bdlb_caselessstringviewless.h>

List of all members.

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)
CaselessStringViewLessoperator= (const CaselessStringViewLess &rhs)

Detailed Description

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


Member Typedef Documentation


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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