Re: apropos linking `dselect'
> The `extern "C" { ... }' wrapper was invented to make it easy for
>C++ programmers to use existing C headers, not the other way around.
However putting it in the header files would make it even easier for
C++ programmers to use C headers, because then they wouldn't have to
think about it...
The effect on C programmers is AFAICT zero, except that if they ever
decide to move to C++ it's easier l-)
> If C++ wants to incorporate `/usr/include/blech.h', all it needs
>to do is to create a corresponding C++ headers file `blech.hh' as
>follows:
> extern "C" {
> include <blech.h>
> }
I don't see the point in doubling the size of /usr/include when we
don't have to?
--
Richard Kettlewell You are April, you are May,
richard@uk.geeks.org What a stupid thing to say.
Just forgive me and forget that I ever opened my mouth
http://www.elmail.co.uk/staff/richard/ And let it all come out.
Reply to: