cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] .inl files - more source than header files

From: Jean-Philippe Barette-LaPierre <jpbarrette_at_gmail.com>
Date: Sun, 16 Nov 2008 12:29:44 -0500

On Sun, Nov 16, 2008 at 11:49 AM, Piotr Dobrogost <curlpp_at_2008.autoera.pl>wrote:

> Jean
>
> .inl files are included in headers but sematically they are more source
> then header files.
> I'm writing this because with the previous folder structure I put all .inl
> files in the header section of VC project but now I think they would rather
> be put in the source section of the project. This doesn't make any
> difference in build since there is no build rule for them. It's kind of
> philosophic problem :)

I disagree with you. For libraries that would need to include files from
cURLpp it would be a serious problem not having those files.
Those files are mandatory for compilation for a third-party. you can't
include then in the source distribution.

Source directory contains files that will be compiled within the compilation
unit of the library, you don't need them once it's compiled.
However .inl are needed for applications that would compile against cURLpp.
Those contains the templated implementation of
template function, which will be only completely defined at the usage of the
function.

For more details, see:
http://www.parashift.com/c++-faq-lite/templates.html#faq-35.12

>
>
> Regards
> Piotr Dobrogost
> _______________________________________________
> cURLpp mailing list
> cURLpp_at_rrette.com
> http://www.rrette.com/mailman/listinfo/curlpp
>

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2008-11-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET