Freigeben über


collate::collate

The constructor for objects of class collate that serves as a locale facet to handle string sorting conventions.

public:
    explicit collate(
        size_t _Refs = 0
    );
protected:
    collate(
        const char * _Locname,
        size_t _Refs = 0
    );

Parameters

  • _Refs
    Integer value used to specify the type of memory management for the object.

  • _Locname
    The name of the locale.

Remarks

The possible values for the _Refs parameter and their significance are:

  • 0: The lifetime of the object is managed by the locales that contain it.

  • 1: The lifetime of the object must be manually managed.

  • > 0: These values are not defined.

The constructor initializes its base object with locale::facet(_Refs).

Requirements

Header: <locale>

Namespace: std

See Also

Reference

collate Class

Other Resources

collate Members