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.
$ sudo apt-get install libboost-all-dev
#include <iostream> #include <boost/version.hpp> int main() { std::cout << "Ver." << BOOST_VERSION << '\n' << "Lib Ver." << BOOST_LIB_VERSION << std::endl; return 0; }
$ g++ -o sample sample.cpp && ./sample
Ver.107400
Lib Ver.1_74