21#ifndef _libint2_include_libint2_util_smallvector_h_
22#define _libint2_include_libint2_util_smallvector_h_
26#if defined(__has_include)
27# if __has_include(<boost/version.hpp>) && __has_include(<boost/container/small_vector.hpp>) && !defined(LIBINT2_DISABLE_BOOST_CONTAINER_SMALL_VECTOR)
28# include <boost/version.hpp>
29# if defined(BOOST_VERSION)
30# if (BOOST_VERSION / 100000 == 1) && ((BOOST_VERSION / 100 % 1000) >= 61)
31# define LIBINT2_HAS_BOOST_CONTAINER_SMALL_VECTOR_H 1
32# if !defined(LIBINT2_SVECTOR_OPTIMIZED_RANK)
33# define LIBINT2_SVECTOR_OPTIMIZED_RANK 6
35# include <boost/container/small_vector.hpp>
47#if defined(LIBINT2_HAS_BOOST_CONTAINER_SMALL_VECTOR_H)
48#define LIBINT2_USES_BOOST_CONTAINER_SMALL_VECTOR_AS_SVECTOR 1
49template <
typename T>
using svector = boost::container::small_vector<T, LIBINT2_SVECTOR_OPTIMIZED_RANK>;
51template <
typename T>
using svector = std::vector<T>;
Defaults definitions for various parameters assumed by Libint.
Definition: algebra.cc:24