Scrap++: Scrap Your Boilerplate in C++
Paper in proceeding, 2006

"Scrap Your Boilerplate" (SYB) is a well studied and widely used design pattern for generic traversal in the Haskell language, but almost unknown to generic programmers in C++. This paper shows that SYB can be implemented in C++. It identifies the features and idioms of C++ that correspond to the Haskell constructs that implement SYB, or can be used to emulate them, and provides a prototype C++ implementation.

Author

Gustav Munkby

Chalmers, Computer Science and Engineering (Chalmers), Computing Science (Chalmers)

Andreas Priesnitz

Chalmers, Computer Science and Engineering (Chalmers), Computing Science (Chalmers)

Sibylle Schupp

Chalmers, Computer Science and Engineering (Chalmers), Computing Science (Chalmers)

Marcin Zalewski

Chalmers, Computer Science and Engineering (Chalmers), Computing Science (Chalmers)

Workshop on Generic Programming

Subject Categories

Software Engineering

Computer Science

More information

Created

10/6/2017