std::ios_base::register_callback
Материал из cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| void register_callback( event_callback function, int index ); |
||
Регистрирует функцию, которая будет вызвана на конкретных событиях, которые вызваны
imbue(), basic_ios::copyfmt() или ~ios_base()Original:
Registers a function which will be called on specific events, which are triggered by
imbue(), basic_ios::copyfmt() or ~ios_base()The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[править] Параметры
| function | - | функцию, которая будет вызываться по событию
Original: the function which will be called on event
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
| index | - | пользовательский параметр, который будет передан функции
Original: custom parameter which will be passed to the function The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[править] Возвращаемое значение
(Нет)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[править] Пример
(Нет)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.