Jump to content

Boost (C++ libraries)

From Wikipedia, the free encyclopedia
(Redirected from Boost Graph Library)
Boost C++ Libraries
DeveloperBoost.org
Initial releaseSeptember 1, 1999; 26 years ago (1999-09-01)[1]
Stable release
1.90.0[2] Edit this on Wikidata / 10 December 2025; 52 days ago (10 December 2025)
Repository
Written inC++
Operating systemCross-platform
TypeLibraries
LicenseBoost Software License
Websitewww.boost.org
Old logo (2006–2025)

The Boost C++ Libraries (also known simply as Boost) are 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 currently contains 170 individual libraries.[3]

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.[4] Boost is used complementary with the C++ Standard Library to supplement its features. 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, threads, regular expressions, random number generation, rational arithmetic (ratio), tuples)[5][6] and the C++17 standard (e.g. file system API, any types, option types, variant types, and string views).[7]

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

[edit]

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++.[8]

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.[9][10] Some Boost libraries, such as boost.regex, are offered as modules, as the rest of the library begins to support modules.

Associated people

[edit]

Boost was founded in 1998 by three members of the C++ Standards Committee: Beman Dawes, David Abrahams, and Robert Klarer. The idea originated during a conversation between Klarer and Dawes at the March 1998 C++ Standards Committee meeting in Sophia Antipolis, France, with Abrahams joining shortly thereafter to establish the first Boost mailing list."History of Boost". Boost Site Docs. The C++ Alliance. Retrieved 26 January 2026.Stroustrup, Bjarne; Sutter, Herb (1 December 2020). "Remembering Beman Dawes". Standard C++. Retrieved 26 January 2026.

Beman Dawes (died December 2020) served on the C++ Standards Committee (WG21) from 1992 and chaired the Library Working Group for five years during the completion of C++98.Stroustrup, Bjarne; Sutter, Herb (1 December 2020). "Remembering Beman Dawes". Standard C++. Retrieved 26 January 2026. He was the original author of the Boost.Filesystem library, which later formed the basis for the std::filesystem library in C++17. Dawes was instrumental in establishing Boost's peer-review process and testing culture."History of Boost". Boost Site Docs. The C++ Alliance. Retrieved 26 January 2026.

David Abrahams was a member of the C++ Standards Committee from 1996 to 2012 and is known for developing the theory of exception safety for C++, including the "Abrahams guarantees" framework."David Abrahams (computer programmer)". Wikipedia. Retrieved 26 January 2026. He authored multiple Boost libraries including Boost.Python and co-authored the book C++ Template Metaprogramming (2004). In 2001, Abrahams founded Boost Consulting (later BoostPro Computing) to provide commercial support for Boost libraries."David Abrahams (computer programmer)". Wikipedia. Retrieved 26 January 2026.

Robert Klarer, working at IBM, co-initiated the Boost concept with Dawes and contributed to early discussions on best practices for high-quality library development."History of Boost". Boost Site Docs. The C++ Alliance. Retrieved 26 January 2026.Falco, Vinnie (8 May 2023). "The Future of Boost". The C++ Alliance. Retrieved 26 January 2026. There are mailing lists devoted to Boost library use and library development, active as of 2023.[11]

License

[edit]
Boost Software License
AuthorDevin Smith[12]
Latest version1.0
Published17 August 2003
SPDX identifierBSL-1.0
FSF approvedYes[13]
OSI approvedYes
GPL compatibleYes[13]
CopyleftNo[13]
Linking from code with a different licenseYes
Websitewww.boost.org/LICENSE_1_0.txt

Boost is licensed under its own free, open-source license, known as the Boost Software License.[14] 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.[15] The license has been OSI-approved since February 2008[16][17] and is considered a free software license, compatible with the GNU General Public License, by the Free Software Foundation.[13]

See also

[edit]

References

[edit]
  1. ^ "Old Versions". Retrieved 11 April 2017.
  2. ^ "Release 1.90.0". 10 December 2025. Retrieved 12 December 2025.
  3. ^ "List of Boost libraries".
  4. ^ "Boost Software License". www.boost.org. Retrieved 2022-01-06.
  5. ^ "Library Technical Report". JTC1/SC22/WG21 - The C++ Standards Committee. 2 July 2003. Retrieved 1 February 2012.
  6. ^ "A Threading API for C++".
  7. ^ "StackOverflow.com site".
  8. ^ Abrahams, David; Gurtovoy, Aleksey (10 December 2004). C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond. Pearson Education. p. 408.
  9. ^ "Asio web site".
  10. ^ "Spirit web-site".
  11. ^ "Boost Mailing Lists (A.K.A. Discussion Groups)". Retrieved 28 Apr 2020.
  12. ^ "Boost Software License". Boost (C++ libraries). December 3, 2003. Archived from the original on April 24, 2025. Retrieved April 21, 2025.
  13. ^ a b c d "Various Licenses and Comments about Them - GNU Project - Free Software Foundation (FSF)".
  14. ^ "Boost Software License - Version 1.0" (TXT). August 17, 2003. Retrieved December 22, 2023.
  15. ^ Dawes, Beman. "Boost Software License". Retrieved 2016-08-01.
  16. ^ "Boost mailing list archive". Archived from the original on 2016-11-07.
  17. ^ "Boost Software License 1.0 (BSL-1.0) | Open Source Initiative". 5 February 2008.

Further reading

[edit]
  • Demming, Robert & Duffy, Daniel J. (2010). Introduction to the Boost C++ Libraries. Vol. 1 - Foundations. Datasim. ISBN 978-94-91028-01-4.
  • Demming, Robert & Duffy, Daniel J. (2012). Introduction to the Boost C++ Libraries. Vol. 2 - Advanced Libraries. Datasim. ISBN 978-94-91028-02-1.
  • Mukherjee, Arindam (2015). Learning Boost C++ Libraries. Packt. ISBN 978-1-78355-121-7.
  • Polukhin, Antony (2013). Boost C++ Application Development Cookbook. Packt. ISBN 978-1-84951-488-0.
  • Polukhin, Antony (2017). Boost C++ Application Development Cookbook (2 ed.). Packt. ISBN 978-1-78728-224-7.
  • Schäling, Boris (2011). The Boost C++ Libraries. XML Press. ISBN 978-0-9822191-9-5.
  • Schäling, Boris (2014). The Boost C++ Libraries (2 ed.). XML Press. p. 570. ISBN 978-1-937434-36-6.
  • Siek, Jeremy G.; Lee, Lie-Quan & Lumsdaine, Andrew (2001). The Boost Graph Library: User Guide and Reference Manual. Addison-Wesley. ISBN 978-0-201-72914-6.
[edit]