mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-03 04:57:45 +03:00
small_vector: require boost >= 1.61
We use the small_vector constructors introduced in Boost 1.61 (trac bug 11866, github commit b436c91). If the Boost version is too old, we fall back to using std::vector.
This commit is contained in:
committed by
Matthew Barr
parent
2a044427c8
commit
14cf5c3684
@@ -33,7 +33,12 @@
|
|||||||
|
|
||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
|
|
||||||
#if BOOST_VERSION >= 105800
|
/*
|
||||||
|
* We use the small_vector constructors introduced in Boost 1.61 (trac bug
|
||||||
|
* #11866, github commit b436c91). If the Boost version is too old, we fall
|
||||||
|
* back to using std::vector.
|
||||||
|
*/
|
||||||
|
#if BOOST_VERSION >= 106100
|
||||||
# define HAVE_BOOST_CONTAINER_SMALL_VECTOR
|
# define HAVE_BOOST_CONTAINER_SMALL_VECTOR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user