iterator.h

来自「一个类似windows」· C头文件 代码 · 共 21 行

H
21
字号
/*
 * COPYRIGHT:   See COPYING in the top level directory
 * PROJECT:     ReactOS HTTP Daemon
 * FILE:        include/iterator.h
 */
#ifndef __ITERATOR_H
#define __ITERATOR_H

#include <windows.h>

template <class Item>
class CIterator {
public:
	virtual VOID First() = 0;
	virtual VOID Next() = 0;
	virtual BOOL IsDone() const = 0;
	virtual Item CurrentItem() const = 0;
};

#endif /* __ITERATOR_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?