《Big C++ 》Third Edition电子书和代码全集-Part1

源代码在线查看: slide040.html

软件大小: 6144 K
上传用户: janeljh1
关键词: Edition Third Part Big
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
					
					
					
					
											title()
					//-->
				
				
				
				
				
				26.4 The TEMPLATE METHOD Pattern (cont.)
					
				
				
				
					sputc is an example of the TEMPLATE METHOD Pattern
						
							(Nothing to do w/C++ templates)
						
					Base class defines an algorithm that calls
						primitive operations
					Algorithm depends on derived class defining an appropriate operation
					The template method combines primitive operations into a larger
						algorithm
				
				
				
				
				
				
					prev
					|top
					|next
				
				
				
				
							

相关资源