Skip to content

C++ wrappers #212

@dankamongmen

Description

@dankamongmen

I grow wear of C-style error checking in demos etc. We should publish and maintain a canonical set of C++ wrappers. They should be referenced in the primary README, but the API reference ought take the form of another document. My three primary thoughts here are:

(1) as close to a header-only implementation as is possible, very thin wrapper
(2) the primary goal is to replace tedious error checking with exceptions
(3) they ought be logically separate from the C core. ideally, they won't have any data access that regular client code doesn't have (i.e., don't go poking around inside ncplanes or the notcurses object). it ought be possible to disable installation of C++ headers (though by default they will be installed). they probably ought generate a distinct Debian package (again, ideally only a -dev package since this would ideally be a headers-only implementation).

@grendello let me know via private communication that he was working on this, so i'll leave it in his court for the time being.

Metadata

Metadata

Assignees

Labels

C++c++ wrappersdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions