Skip to content

A collection of high-quality, free, and open-source libraries that extend the functionality of the C++ programming language; Dawes et al. (1998).

License

Notifications You must be signed in to change notification settings

nodef/boost.cxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boost C++ Libraries

The Boost project provides free peer-reviewed portable C++ source libraries.

We emphasize libraries that work well with the C++ Standard Library. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications. The Boost license encourages both commercial and non-commercial use and does not require attribution for binary use.

The project website is www.boost.org, where you can obtain more information and download the current release.


Installation

Run:

$ npm i boost.cxx

And then include boost/thread.hpp as follows:

// main.cxx
#include <boost/thread.hpp>

int main() { /* ... */ }

Finally, compile while adding the path node_modules/boost.cxx to your compiler's include paths.

$ clang++ -std=c++17 -I./node_modules/boost.cxx main.cxx  # or, use g++
$ g++     -std=c++17 -I./node_modules/boost.cxx main.cxx

You may also use a simpler approach with the cpoach tool, which automatically adds the necessary include paths of all the installed dependencies for your project.

$ cpoach clang++ -std=c++17 main.cxx  # or, use g++
$ cpoach g++     -std=c++17 main.cxx



SRC ORG

About

A collection of high-quality, free, and open-source libraries that extend the functionality of the C++ programming language; Dawes et al. (1998).

Resources

License

Stars

Watchers

Forks