[kde-community] Licensing question with header-only libraries
nicolas.alvarez at gmail.com
Mon Jan 25 01:57:28 UTC 2016
> El 24 ene 2016, a las 21:02, Thiago Macieira <thiago at kde.org> escribió:
>> On Sunday 24 January 2016 16:12:39 Jonathan Riddell wrote:
>> inline functions and templates (ten or fewer lines in length),
> The restriction pretty much sets header-only libraries of any value out of
> luck for this compliance.
> C code usually has small functions and templates. Modern C++ code is usually
> template-heavy, with hundreds or thousands of lines of code. Or more.
You missed a part of the paragraph. Before the part you quoted, it says "provided that, if the incorporated material is *not* limited to...".
If it's limited to small functions, you need nothing extra. If it's *not* limited to small functions, you have to do the two mentioned things.
More information about the kde-community