>Thanks for the patch, but you haven't really told us about your usecase
>with c++ in a d-i context.
Any C library should allow including from C++. My usecase is following: I wrote 
my own analogue of debootstrap/cdebootstrap called asdebootstrap ("as" for 
Askar Safin, of course :)). I wrote it just because I like to experiment. It is 
written in shell, here is a source: http://paste.debian.net/289334 (some 
comments are in Russian). It depends on my util asdebootstrap-resolve, which 
performs actual dependencies resolving. asdebootstrap-resolve is written in 
C++, here is a source: http://paste.debian.net/289335 . asdebootstrap-resolve 
depends on libdebian-installer and on my library libsh: 
https://github.com/safinaskar/libsh. In particular, asdebootstrap-resolve 
depends on argument parser from libsh. This argument parser is written in C++14 
and it heavily depends on C++11/C++14 features, including variadic templates. 
The parser is a header file arg.hpp and every file which includes it should be 
in C++14, too. So, asdebootstrap-resolve is C++14 and it includes 
libdebian-installer headers.
==
Askar Safin
http://vk.com/safinaskar

Reply via email to