Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

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

Design Patterns for Generic Programming in C++

Generic programming is a paradigm whose wide adoption by the C++ community is quite recent. In this scheme most classes and procedures are parameterized, leading to the construction of general and efficient software components. In this paper, we show how some design patterns from Gamma et al. can be adapted to this paradigm. Although these patterns rely highly on dynamic binding, we show that, by intensive use of parametric polymorphism, the method calls in these patterns can be resolved at compile-time. In intensive computations, the generic patterns bring a significant speed-up compared to their classical peers.

Alexandre Duret-Lutz, EPITA Research and Development Laboratory, France

Thierry Geraud, EPITA Research and Development Laboratory, France

Akim Demaille, EPITA Research and Development Laboratory, France

BibTeX
@inproceedings {271049,
author = {Alexandre Duret-Lutz and Thierry Geraud and Akim Demaille},
title = {Design Patterns for Generic Programming in C++},
booktitle = {6th USENIX Conference on Object-Oriented Technologies and Systems (COOTS 01)},
year = {2001},
address = {San Antonio, TX},
url = {https://www.usenix.org/conference/coots-01/design-patterns-generic-programming-c},
publisher = {USENIX Association},
month = jan
}
Download

Links

Paper: 
http://www.usenix.org/events/coots01/full_papers/duret/duret.pdf
Paper (HTML): 
http://www.usenix.org/events/coots01/full_papers/duret/duret_html/index.html
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us