
13 May
2011
13 May
'11
7:38 a.m.
can a boost C++ library be required/forced to provide a C API?
No, this is a C++ library after all.
Even if the library author doesn't like this idea - because he would be responsible for C stuff.
<boost/config.hpp> include <cstddef> which will not be available for a C compiler - maybe this is an indication that boost libs are not required to implement a C-API.
Actually Boost.Config has recently be changed to support compilation in C mode, but this is very much the exception not the rule. John.