std::ios_base::event_callback
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| typedef void (*event_callback)(event type, ios_base& ios, int index); |
||
该类型的函数回调,可以注册使用
register_callback()特定的事件被称为.原文:
The type of function callbacks that can be registered using
register_callback() to be called on specific events.type是指事件的类型,ios指*this,index传递给register_callback()进行登记时,该函数是一个特定值.原文:
type refers to the type of the event, ios refers to *this, index is a specific value passed to register_callback() when registering the function.