Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

using parts of Boost

Tags:

I know that it is, of course, possible only to use the parts of Boost that you want to use, but my point was, I want to keep my project folder slim. The project should be able to be checked out with all dependencies, and I just noticed while unpacking boost that it is around 33 thousand files and more than 250 megabytes, and I am using one single class of it (tokenizer).

Is it possible only to include a portion of Boost into a project?

like image 430
Tom Avatar asked Apr 05 '11 21:04

Tom


People also ask

Is Boost better than STL?

Ultimately, you should learn both. But STL can be learned in isolation, whereas boost won't make much sense until you understand the STL, since that's what Boost is modeled on, and designed to extend. So learn to use the STL as part of learning c++.

What is Boost Build?

Boost. Build is a high-level build system which makes it as easy as possible to manage C++ projects. The idea is to specify in configuration files just as much as necessary to build a program. For example it is not required to tell Boost. Build how to use a certain compiler.

Is Boost process header only?

Boost Process is header-only, so you don't have to compile it separately.

Which following Boost libraries can support container components?

The Boost Multi-index Containers Library provides a class template named multi_index_container which enables the construction of containers maintaining one or more indices with different sorting and access semantics.


1 Answers

You can use bcp to extract only the subset of boost required by your project.

like image 59
Björn Pollex Avatar answered Nov 04 '22 12:11

Björn Pollex