Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining


The constructor for objects of type time_get.

explicit time_get(
   size_t _Refs = 0



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

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 base object with locale::facet(_Refs).

Header: <locale>

Community Additions

© 2015 Microsoft