On Sun, Nov 16, 2008 at 11:49 AM, Piotr Dobrogost <[EMAIL PROTECTED]>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 > [email protected] > http://www.rrette.com/mailman/listinfo/curlpp >
_______________________________________________ cURLpp mailing list [email protected] http://www.rrette.com/mailman/listinfo/curlpp
