📄 fig03_21.cpp
字号:
protected:
const List<Object> *theList;
Node *current;
const_iterator( const List<Object> & lst, Node *p )
: theList( &lst ), current( p )
{
}
void assertIsValid( ) const
{
if( theList == NULL || current == NULL || current == theList->head )
throw IteratorOutOfBoundsException( );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -