LIBINT 2.7.2
stdarray.h
1// shamelessly borrowed from MADNESS (GPLv3)
2// written by Justus Calvin (justus.c79@gmail.com)
3
4#ifndef _libint2_include_stdarray_h
5#define _libint2_include_stdarray_h
6
7#include <libint2/config.h>
8
9#if defined(LIBINT_USE_ARRAY)
10# include <array>
11#elif defined(LIBINT_USE_TR1_ARRAY)
12# include <tr1/array>
13#elif defined(LIBINT_USE_BOOST_TR1_ARRAY_HPP)
14# include <boost/tr1/array.hpp>
15#else
16# define LIBINT_HAS_STD_ARRAY 1
17# include <stdarray_bits.h>
18 namespace std {
19 using namespace libint2::tr1::array;
20 }
21#endif
22
23namespace std {
24#if defined(LIBINT_HAS_STD_TR1_ARRAY) && !defined(LIBINT_HAS_STD_ARRAY)
25# define LIBINT_HAS_STD_ARRAY 1
26 using ::std::tr1::array;
27 using ::std::tr1::swap;
28 using ::std::tr1::tuple_size;
29 using ::std::tr1::tuple_element;
30 using ::std::tr1::tuple_size;
31 using ::std::tr1::tuple_element;
32 using ::std::tr1::get;
33#endif
34}
35
36#endif // header guard