Boost logo

Boost :

From: Janson R. (mlists.aerostun_at_[hidden])
Date: 2020-03-09 12:29:39


On 09/03/2020 13:18, degski via Boost wrote:
I would like to add
> that imo, there is nothing shitty about a c-api, it is a different language
> all-together, the fact that it is different doesn't make it shitty.
Indeed C is a different language all-together, and a C API is beautiful,
in C. C++ is yet another language, and a C API sprinkled with `void
*opaque` all over the place does not play nicely with C++ code and
becomes far from

> clear, simple and without surprises

There are then two solutions: wrapping, or rewriting.

Janson


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk