C++ Locale Library - collate



Description

It provides functions to compare and assist in comparing strings in a locale-specific manner.

Declaration

Following is the declaration for std::collate.

C++98

	
template <class charT> class collate;

C++11

template <class charT> class collate;

Parameters

charT − It is a character type.

Return Value

none

Member types

Sr.No. Member type & description
1

char_type

It a character type facet.

2

string_type

It a basic string type.

locale.htm
Advertisements