Sometimes, perhaps due to code's history, a project is released under several different licenses at the same time. An example of this is ranges-v3. What is the name for this practise?

To be clear I'm not asking about dual-licensing / multi-licensing, which is when the recipient can choose which of several licenses to follow. My question is about when the terms of several different licenses must all be followed.

  • 1
    The license you link to isn't saying one thing is released under multiple licenses, it's saying several things are distributed under their respective licenses. Dec 3 '18 at 14:27
  • 1
    @curiousdanii That is certainly one way to look at it, but all the constituent parts are released together as a single unit. Dec 4 '18 at 9:27

The practice you are referring to is "using code written by others that is under a different license". This happens most frequently when you take code from other projects and incorporate that in your codebase.

As mentioned in the readme file of the project:

Most of the source code in this project are mine, and those are under the Boost Software License. Parts are taken from Alex Stepanov's Elements of Programming, Howard Hinnant's libc++, and from the SGI STL. Please see the attached LICENSE file and the CREDITS file for the licensing and acknowledgments.

  • That is a good description of what has happened in this case. Does it have a (shorter) name? Dec 5 '18 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.