02-5.cpp

来自「effective stl 源代码 code」· C++ 代码 · 共 26 行

CPP
26
字号
//
// ESTL item 2, "CustomerList" example
//

#include <list>
#include <iostream>
using namespace std;

class Customer {};

class CustomerList {
private:
	typedef list<Customer> CustomerContainer;
	typedef CustomerContainer::iterator CCIterator;
	CustomerContainer customers;
public:				// limit the amount of list-specific
//	...				// information visible through
};					// this interface

int main()
{
	CustomerList cl;
	
	return 0;
}

⌨️ 快捷键说明

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