An adaptor for C++ callbacks with C and Fortran libraries
收藏NIAID Data Ecosystem2026-03-10 收录
下载链接:
https://data.mendeley.com/datasets/35vyyx9jwy
下载链接
链接失效反馈官方服务:
资源简介:
This program has been imported from the CPC Program Library held at Queen's University Belfast (1969-2018)
Abstract
Object-oriented programming using C++ is increasingly being adopted in the development of scientific codes. A recurrent issue in this regard is the interaction of newly developed codes with existing legacy libraries written in C or Fortran. Often, one needs to pass raw function pointers to such libraries’ procedures for callback purposes. This is problematic as it conflicts with one of the cornerstones of object-oriented programming: the association of functions and data through objects. Curr...
Title of program: Adapt2rfp
Catalogue Id: AENU_v1_0
Nature of problem
Object-oriented programming using C++ is increasingly being adopted in the development of scientific codes. A recurrent issue in this regard, is the interaction of newly developed codes with existing legacy libraries written in C or Fortran. Often, one needs to pass raw function pointers to such libraries' procedures for callback purposes. This is problematic as it conflicts with one of the cornerstones of object-oriented programming, the association of functions and data through objects. Curren ...
Versions of this program held in the CPC repository in Mendeley Data
AENU_v1_0; Adapt2rfp; 10.1016/j.cpc.2012.10.016
创建时间:
2018-12-07



