![]() ![]() Of header files containing templates and inline functions, and Most Boost libraries are header-only: they consist entirely Libs / index.html if you're looking for the whole enchilada. hpp extension,Īnd live in the boost / subdirectory of the boost root, yourīoost #include directives will look like:ĭepending on your preference regarding the use of angle bracketĭon't be distracted by the doc / subdirectory it onlyĬontains a subset of the Boost documentation. Since all of Boost's header files have the. The boost / subdirectory in your #include path. To compile anything in Boost, you need a directory containing ![]() Sometimes referred to as $BOOST_ROOT in documentation and The path to the boost root directory (often /usr/local/ boost_1_73_0) is Don't expect to findĪnything you can use in these directories. Most libraries place private headers in a subdirectory calledĭetail /, or aux_ /. ForĮxample, Boost.Python's aggregate header is boost / python.hpp. #includes all of the library's other headers. Some libraries have an “aggregate header” in boost / that The Python library's def.hpp header in boost / python / def.hpp. Most libraries' public headers live in a subdirectory ofīoost /, named after the library. Some older libraries and most very small libraries place all The organization of Boost library headers isn't entirely uniform,īut most libraries follow a few patterns:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |