glibmm: Glib::Markup::AttributeKeyLess Class Reference

glibmm 2.64.4

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Types | Public Member Functions | List of all members
Glib::Markup::AttributeKeyLess Class Reference
Simple XML Subset Parser

Binary predicate used by Markup::Parser::AttributeMap. More...

`#include <glibmm/markup.h>`

## Public Types
using | first_argument_type = Glib::ustring
using | second_argument_type = Glib::ustring
typedef bool | result_type

## Public Member Functions
bool | operator() (const Glib::ustring& lhs, const Glib::ustring& rhs) const

## Detailed Description

Binary predicate used by Markup::Parser::AttributeMap.

Unlike `operator<(const ustring& lhs, const ustring& rhs)` which would be used by the default `std::less<>` predicate, the AttributeKeyLess predicate is locale-independent. This is both more correct and much more efficient.

## Member Typedef Documentation

using Glib::Markup::AttributeKeyLess::first_argument_type = Glib::ustring

typedef bool Glib::Markup::AttributeKeyLess::result_type

using Glib::Markup::AttributeKeyLess::second_argument_type = Glib::ustring

## Member Function Documentation

bool Glib::Markup::AttributeKeyLess::operator() | ( | const Glib::ustring& | lhs,
|  | const Glib::ustring& | rhs
| ) |  | const