HomeSort by relevance Sort by last modified time
    Searched refs:gen_numeric_list_repeated (Results 1 - 3 of 3) sorted by null

  /external/eigen/unsupported/Eigen/CXX11/src/util/
EmulateCXX11Meta.h 74 template<typename T, size_t n, T V> struct gen_numeric_list_repeated;
76 template<typename T, T V> struct gen_numeric_list_repeated<T, 1, V> { struct in namespace:Eigen::internal
80 template<typename T, T V> struct gen_numeric_list_repeated<T, 2, V> { struct in namespace:Eigen::internal
84 template<typename T, T V> struct gen_numeric_list_repeated<T, 3, V> { struct in namespace:Eigen::internal
88 template<typename T, T V> struct gen_numeric_list_repeated<T, 4, V> { struct in namespace:Eigen::internal
92 template<typename T, T V> struct gen_numeric_list_repeated<T, 5, V> { struct in namespace:Eigen::internal
96 template<typename T, T V> struct gen_numeric_list_repeated<T, 6, V> { struct in namespace:Eigen::internal
101 template<typename T, T V> struct gen_numeric_list_repeated<T, 7, V> { struct in namespace:Eigen::internal
107 template<typename T, T V> struct gen_numeric_list_repeated<T, 8, V> { struct in namespace:Eigen::internal
CXX11Meta.h 52 * typename gen_numeric_list_repeated<int, 0, 5>::type numeric_list<int, 0,0,0,0,0>
64 template<typename T, std::size_t n, T V, T... nn> struct gen_numeric_list_repeated : gen_numeric_list_repeated<T, n-1, V, V, nn...> {}; struct in namespace:Eigen::internal
65 template<typename T, T V, T... nn> struct gen_numeric_list_repeated<T, 0, V, nn...> { typedef numeric_list<T, nn...> type; }; struct in namespace:Eigen::internal
  /external/eigen/unsupported/test/
cxx11_meta.cpp 21 using Eigen::internal::gen_numeric_list_repeated;
125 VERIFY((is_same<typename gen_numeric_list_repeated<int, 0, 0>::type, numeric_list<int>>::value));
126 VERIFY((is_same<typename gen_numeric_list_repeated<int, 1, 0>::type, numeric_list<int, 0>>::value));
127 VERIFY((is_same<typename gen_numeric_list_repeated<int, 2, 0>::type, numeric_list<int, 0, 0>>::value));
128 VERIFY((is_same<typename gen_numeric_list_repeated<int, 5, 0>::type, numeric_list<int, 0, 0, 0, 0, 0>>::value));
129 VERIFY((is_same<typename gen_numeric_list_repeated<int, 10, 0>::type, numeric_list<int, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0>>::value));

Completed in 57 milliseconds