Boost (C++ libraries)#License

{{Short description|C++ libraries}}

{{Primary sources|date=October 2023}}

{{Infobox software

| title =

| name = Boost

| logo = Boost.svg

| logo size = 100px

| logo alt =

| logo caption =

| screenshot =

| screenshot size =

| screenshot alt =

| caption =

| collapsible =

| author =

| developer =

| released = {{Start date and age|1999|09|01}}{{cite web|url=https://www.boost.org/users/history/old_versions.html|title=Old Versions|access-date=11 April 2017}}

| discontinued =

| latest release version = {{wikidata|property|reference|edit|P348|P548=Q2804309}}

| latest release date = {{Start date and age | {{wikidata|qualifier|P348|P548=Q2804309|P577}} }}

| latest preview version =

| latest preview date =

| programming language = C++

| operating system = Cross-platform

| platform =

| size =

| language =

| language count =

| language footnote =

| genre = Libraries

| license = Boost Software License

| website = {{URL|https://www.boost.org}}

| standard =

| AsOf =

}}

File:Boost.png

Boost is a set of libraries for the C++ programming language that provides support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. It contains 164 individual libraries (as of version 1.76).{{Cite web | url=https://www.boost.org/doc/libs/?view=condensed | title=List of Boost libraries}}

All of the Boost libraries are licensed under the Boost Software License, designed to allow Boost to be used with both free and proprietary software projects.{{Cite web|title=Boost Software License|url=https://www.boost.org/users/license.html|access-date=2022-01-06|website=www.boost.org}} Many of Boost's founders are on the C++ standards committee, and several Boost libraries have been accepted for incorporation into the C++ Technical Report 1, the C++11 standard (e.g. smart pointers, thread, regex, random, ratio, tuple){{Cite web | url=http://www.open-std.org/jtc1/sc22/wg21/docs/library_technical_report.html | title=Library Technical Report | publisher=JTC1/SC22/WG21 - The C++ Standards Committee | date=2 July 2003 | access-date=1 February 2012}}{{Cite web | url=http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2090.html | title=A Threading API for C++}} and the C++17 standard (e.g. filesystem, any, optional, variant, string_view).{{Cite web | url=https://stackoverflow.com/a/8852421/2006632 | title=StackOverflow.com site}}

The Boost community emerged around 1998, when the first version of the standard was released. It has grown continuously since then and now plays a big role in the standardization of C++. Even though there is no formal relationship between the Boost community and the standardization committee, some of the developers are active in both groups.

Design

The libraries are aimed at a wide range of C++ users and application domains. They range from general-purpose libraries like the smart pointer library, to operating system abstractions like Boost FileSystem, to libraries primarily aimed at other library developers and advanced C++ users, like the template metaprogramming (MPL) and domain-specific language (DSL) creation (Proto).

In order to ensure efficiency and flexibility, Boost makes extensive use of templates. Boost has been a source of extensive work and research into generic programming and metaprogramming in C++.{{Cite book

| last1 = Abrahams

| first1 = David

| last2 = Gurtovoy

| first2 = Aleksey

| title = C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond

| publisher = Pearson Education

| date = 10 December 2004

| pages = 408

}}

Most Boost libraries are header based, consisting of inline functions and templates, and as such do not need to be built in advance of their use. Some Boost libraries coexist as independent libraries.{{Cite web|url=http://think-async.com/Asio|title=Asio web site}}{{Cite web|url=http://boost-spirit.com/home/|title=Spirit web-site}}

Associated people

The original founders of Boost that are still active in the community includes David Abrahams. An author of several books on C++, Nicolai Josuttis, contributed to the Boost array library in 2001. There are mailing lists devoted to Boost library use and library development, active {{As of|2023|lc=on}}.{{Cite web|title=Boost Mailing Lists (A.K.A. Discussion Groups)|url=http://www.boost.org/community/groups.html|access-date=28 Apr 2020}}

License

{{Infobox software license

| name = Boost Software License

| image =

| caption =

| author = Devin Smith{{cite web |url=https://www.boost.org/users/license.html |title=Boost Software License |date=December 3, 2003 |publisher=Boost (C++ libraries) |access-date=April 21, 2025 |archive-date=April 24, 2025 |archive-url=https://web.archive.org/web/20250424015917/https://www.boost.org/users/license.html |url-status=dead }}

| version = 1.0

| publisher =

| date = 17 August 2003

| spdx = BSL-1.0

| OSI approved = Yes

| Debian approved =

| FSF approved = Yes

| GPL compatible = Yes

| copyleft = No

| linking = Yes

| website = {{URL|https://www.boost.org/LICENSE_1_0.txt}}

}}

Boost is licensed under its own free, open-source license, known as the Boost Software License.{{cite web|url=https://www.boost.org/LICENSE_1_0.txt|title=Boost Software License - Version 1.0|format=TXT|date=August 17, 2003|access-date=December 22, 2023}} It is a permissive license in the style of the BSD license and the MIT license, but without requiring attribution for redistribution in binary form.{{cite web |url=http://www.boost.org/users/license.html |title=Boost Software License |last=Dawes |first=Beman |access-date=2016-08-01}} The license has been OSI-approved since February 2008{{Cite web|url = http://thread.gmane.org/gmane.comp.lib.boost.devel/178539|title = Boost mailing list archive|archive-url = https://web.archive.org/web/20161107222035/http://thread.gmane.org/gmane.comp.lib.boost.devel/178539|archive-date = 2016-11-07|url-status = dead}}{{Cite web|url = http://opensource.org/licenses/BSL-1.0|title = Boost Software License 1.0 (BSL-1.0) {{!}} Open Source Initiative| date=5 February 2008 }} and is considered a free software license, compatible with the GNU General Public License, by the Free Software Foundation.{{Cite web|url = https://www.gnu.org/licenses/license-list.html#boost|title = Various Licenses and Comments about Them - GNU Project - Free Software Foundation (FSF)}}

See also

{{Portal|Free and open-source software}}

References

{{Reflist|30em}}

Further reading

  • {{Cite book | first1 = Robert | last1 = Demming | first2 = Daniel J. | last2 = Duffy | year = 2010 | title = Introduction to the Boost C++ Libraries | volume = 1 - Foundations | publisher = Datasim | isbn = 978-94-91028-01-4 | name-list-style = amp }}
  • {{Cite book | first1 = Robert | last1 = Demming | first2 = Daniel J. | last2 = Duffy | year = 2012 | title = Introduction to the Boost C++ Libraries | volume = 2 - Advanced Libraries | publisher = Datasim | isbn = 978-94-91028-02-1 | name-list-style = amp }}
  • {{Cite book | first1 = Arindam | last1 = Mukherjee | year = 2015 | title = Learning Boost C++ Libraries | publisher = Packt | isbn = 978-1-78355-121-7}}
  • {{Cite book | first = Antony | last = Polukhin | year = 2013 | title = Boost C++ Application Development Cookbook | publisher = Packt | isbn = 978-1-84951-488-0}}
  • {{Cite book | first = Antony | last = Polukhin | year = 2017 | title = Boost C++ Application Development Cookbook | publisher = Packt | isbn = 978-1-78728-224-7 | edition = 2 }}
  • {{Cite book | first = Boris | last = Schäling | year = 2011 | title = The Boost C++ Libraries | publisher = XML Press | isbn = 978-0-9822191-9-5 }}
  • {{Cite book | first = Boris | last = Schäling | year = 2014 | title = The Boost C++ Libraries | publisher = XML Press | isbn = 978-1-937434-36-6 | edition = 2 | pages = 570 }}
  • {{Cite book | first1 = Jeremy G. | last1 = Siek | first2 = Lie-Quan | last2 = Lee | first3 = Andrew | last3 = Lumsdaine | year = 2001 | title = The Boost Graph Library: User Guide and Reference Manual | publisher = Addison-Wesley | isbn = 978-0-201-72914-6 | name-list-style = amp }}