A Boost library may be used only if:
- the desired effect cannot be accomplished with a C++17 standard language feature, and
- a C++ standard library equivalent is either unavailable or unusable with our minimum required compiler version.
In particular, the following Boost libraries are no longer accepted as they have standard equivalents in gcc 6.3.1 and above:
- prefer C++14 lambda functions instead, but use
<functional>if you must
- use C++14 lambda functions
= deleteon the copy constructor and assignment operator
std::forwardand universal / forwarding references (or
std::refif you must)
std::unique_ptr(and its array specialization) from
- use C++14
Certain Boost libraries are recommended: they should be used whenever applicable in preference to any other method of accomplishing the same effect. Among others, this category includes:
Additional Boost libraries are considered safe: they may be used freely where applicable.
Most other Boost libraries may be used after appropriate design review. Particular caution should be used when the library involves substantial template metaprogramming or requires linking. Among others, the following libraries fall into the extra-caution category:
Certain Boost libraries conflict with LSST-standard ways of doing things, are inappropriate for LSST code, are insufficiently developed or well-maintained, or have been found to be excessively complicated. These are not allowed without special permission.