CiteULike is a free online bibliography manager. Register and you can start organising your references online.

Using C++ Functors with Legacy C Libraries

Computational Science and Its Applications - ICCSA 2004 (2004), pp. 514-523.

X Abstract

The use of functors or function objects in the object oriented programming paradigm has proven to be useful in the design of scientific applications that need to tie functions and their execution context. However, a recurrent problem when using functors is their interaction with the callback mechanism of legacy C libraries. We review some of the solutions to this problem and present the design of a generic adapter that associates a C function pointer with function objects. This makes it possible to use an object-oriented style of programming and still interface with C libraries in a straightforward manner.

View the full article here:

SpringerLink

This article has been bookmarked once, on 2009-06-23.

2009-06-23 User craigtalbert
Privacy Statement | Terms & Conditions
CiteULike organises scholarly (or academic) papers or literature and provides bibliographic (which means it makes bibliographies) for universities and higher education establishments. It helps undergraduates and postgraduates. People studying for PhDs or in postdoctoral (postdoc) positions. The service is similar in scope to EndNote or RefWorks or any other reference manager like BibTeX, but it is a social bookmarking service for scientists and humanities researchers.