Skip to main content
USENIX
  • Conferences
  • Students
Sign in

connect with us


  •  Twitter
  •  Facebook
  •  LinkedIn
  •  Google+
  •  YouTube

twitter

Tweets by @usenix

usenix conference policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

You are here

Home ยป Template Base Delegation
Tweet

connect with us

Template Base Delegation

Authors: 

Ted Law, IBM Software Solutions

Abstract: 

When a class derives from a template instantiation, the base class is called a template base class. Non-template base classes are more commonly used, but do not take into account the specific needs of the derived class. The base class can provide better service; it can be customized by becoming a template instantiation using the derived class and/or other classes as arguments. In this way, the template base class can tailor-make itself for the derived class, taking advantage of the knowledge of its type. For example, the template base class can type its methods appropriately for the derived class. Furthermore, inheriting publicly from a template base class makes it possible for the derived class to delegate part of its public type-specific interface to the base. This paper explores the advantages of template base delegation.

Ted Law, IBM Software Solutions

BibTeX
@inproceedings {252339,
author = {Ted Law},
title = {Template Base Delegation},
booktitle = {USENIX 6th C++ Technical Conference (USENIX 6th C++ Technical Conference)},
year = {1994},
address = {Cambridge, MA},
url = {https://www.usenix.org/conference/usenix-6th-c-technical-conference/template-base-delegation},
publisher = {USENIX Association},
month = apr,
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/c++94/full_papers/law.ps
  • Log in or    Register to post comments

© USENIX

  • Privacy Policy
  • Contact Us