Udostępnij za pośrednictwem


ctype::ctype

Constructor for objects of class ctype that serve as locale facets for characters.

explicit ctype(
    size_t _Refs = 0
);

Parameters

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

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.

No direct examples are possible, because the destructor is protected.

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

Requirements

Header: <locale>

Namespace: std

See Also

Reference

ctype Class

Other Resources

ctype Members