Skip to content

nodef/boost.cxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super-project for modularized Boost; Dawes et al. (1998).

Visit https://think-async.com/ or see packaged doc/index.html for API documentation and a tutorial.

Installation

Run:

$ npm i boost.cxx

And then include boost/thread.hpp as follows:

// main.cxx
#include "node_modules/boost.cxx/boost/thread.hpp"

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

And then compile with clang++ or g++ as usual.

$ clang++ main.cxx  # or, use g++
$ g++     main.cxx

You may also use a simpler approach:

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

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

If you add the path node_modules/boost.cxx to your compiler's include paths.

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


ORG

About

Super-project for modularized Boost; Dawes et al. (1998).

Resources

License

Stars

Watchers

Forks

Languages