You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1421 lines
74 KiB

  1. // This file was GENERATED by command:
  2. // pump.py gtest-param-test.h.pump
  3. // DO NOT EDIT BY HAND!!!
  4. // Copyright 2008, Google Inc.
  5. // All rights reserved.
  6. //
  7. // Redistribution and use in source and binary forms, with or without
  8. // modification, are permitted provided that the following conditions are
  9. // met:
  10. //
  11. // * Redistributions of source code must retain the above copyright
  12. // notice, this list of conditions and the following disclaimer.
  13. // * Redistributions in binary form must reproduce the above
  14. // copyright notice, this list of conditions and the following disclaimer
  15. // in the documentation and/or other materials provided with the
  16. // distribution.
  17. // * Neither the name of Google Inc. nor the names of its
  18. // contributors may be used to endorse or promote products derived from
  19. // this software without specific prior written permission.
  20. //
  21. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  22. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  23. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  24. // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  25. // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  26. // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  27. // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  28. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  29. // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  30. // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  31. // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  32. //
  33. // Authors: vladl@google.com (Vlad Losev)
  34. //
  35. // Macros and functions for implementing parameterized tests
  36. // in Google C++ Testing Framework (Google Test)
  37. //
  38. // This file is generated by a SCRIPT. DO NOT EDIT BY HAND!
  39. //
  40. #ifndef GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
  41. #define GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_
  42. // Value-parameterized tests allow you to test your code with different
  43. // parameters without writing multiple copies of the same test.
  44. //
  45. // Here is how you use value-parameterized tests:
  46. #if 0
  47. // To write value-parameterized tests, first you should define a fixture
  48. // class. It is usually derived from testing::TestWithParam<T> (see below for
  49. // another inheritance scheme that's sometimes useful in more complicated
  50. // class hierarchies), where the type of your parameter values.
  51. // TestWithParam<T> is itself derived from testing::Test. T can be any
  52. // copyable type. If it's a raw pointer, you are responsible for managing the
  53. // lifespan of the pointed values.
  54. class FooTest : public ::testing::TestWithParam<const char*> {
  55. // You can implement all the usual class fixture members here.
  56. };
  57. // Then, use the TEST_P macro to define as many parameterized tests
  58. // for this fixture as you want. The _P suffix is for "parameterized"
  59. // or "pattern", whichever you prefer to think.
  60. TEST_P(FooTest, DoesBlah) {
  61. // Inside a test, access the test parameter with the GetParam() method
  62. // of the TestWithParam<T> class:
  63. EXPECT_TRUE(foo.Blah(GetParam()));
  64. ...
  65. }
  66. TEST_P(FooTest, HasBlahBlah) {
  67. ...
  68. }
  69. // Finally, you can use INSTANTIATE_TEST_CASE_P to instantiate the test
  70. // case with any set of parameters you want. Google Test defines a number
  71. // of functions for generating test parameters. They return what we call
  72. // (surprise!) parameter generators. Here is a summary of them, which
  73. // are all in the testing namespace:
  74. //
  75. //
  76. // Range(begin, end [, step]) - Yields values {begin, begin+step,
  77. // begin+step+step, ...}. The values do not
  78. // include end. step defaults to 1.
  79. // Values(v1, v2, ..., vN) - Yields values {v1, v2, ..., vN}.
  80. // ValuesIn(container) - Yields values from a C-style array, an STL
  81. // ValuesIn(begin,end) container, or an iterator range [begin, end).
  82. // Bool() - Yields sequence {false, true}.
  83. // Combine(g1, g2, ..., gN) - Yields all combinations (the Cartesian product
  84. // for the math savvy) of the values generated
  85. // by the N generators.
  86. //
  87. // For more details, see comments at the definitions of these functions below
  88. // in this file.
  89. //
  90. // The following statement will instantiate tests from the FooTest test case
  91. // each with parameter values "meeny", "miny", and "moe".
  92. INSTANTIATE_TEST_CASE_P(InstantiationName,
  93. FooTest,
  94. Values("meeny", "miny", "moe"));
  95. // To distinguish different instances of the pattern, (yes, you
  96. // can instantiate it more then once) the first argument to the
  97. // INSTANTIATE_TEST_CASE_P macro is a prefix that will be added to the
  98. // actual test case name. Remember to pick unique prefixes for different
  99. // instantiations. The tests from the instantiation above will have
  100. // these names:
  101. //
  102. // * InstantiationName/FooTest.DoesBlah/0 for "meeny"
  103. // * InstantiationName/FooTest.DoesBlah/1 for "miny"
  104. // * InstantiationName/FooTest.DoesBlah/2 for "moe"
  105. // * InstantiationName/FooTest.HasBlahBlah/0 for "meeny"
  106. // * InstantiationName/FooTest.HasBlahBlah/1 for "miny"
  107. // * InstantiationName/FooTest.HasBlahBlah/2 for "moe"
  108. //
  109. // You can use these names in --gtest_filter.
  110. //
  111. // This statement will instantiate all tests from FooTest again, each
  112. // with parameter values "cat" and "dog":
  113. const char* pets[] = {"cat", "dog"};
  114. INSTANTIATE_TEST_CASE_P(AnotherInstantiationName, FooTest, ValuesIn(pets));
  115. // The tests from the instantiation above will have these names:
  116. //
  117. // * AnotherInstantiationName/FooTest.DoesBlah/0 for "cat"
  118. // * AnotherInstantiationName/FooTest.DoesBlah/1 for "dog"
  119. // * AnotherInstantiationName/FooTest.HasBlahBlah/0 for "cat"
  120. // * AnotherInstantiationName/FooTest.HasBlahBlah/1 for "dog"
  121. //
  122. // Please note that INSTANTIATE_TEST_CASE_P will instantiate all tests
  123. // in the given test case, whether their definitions come before or
  124. // AFTER the INSTANTIATE_TEST_CASE_P statement.
  125. //
  126. // Please also note that generator expressions (including parameters to the
  127. // generators) are evaluated in InitGoogleTest(), after main() has started.
  128. // This allows the user on one hand, to adjust generator parameters in order
  129. // to dynamically determine a set of tests to run and on the other hand,
  130. // give the user a chance to inspect the generated tests with Google Test
  131. // reflection API before RUN_ALL_TESTS() is executed.
  132. //
  133. // You can see samples/sample7_unittest.cc and samples/sample8_unittest.cc
  134. // for more examples.
  135. //
  136. // In the future, we plan to publish the API for defining new parameter
  137. // generators. But for now this interface remains part of the internal
  138. // implementation and is subject to change.
  139. //
  140. //
  141. // A parameterized test fixture must be derived from testing::Test and from
  142. // testing::WithParamInterface<T>, where T is the type of the parameter
  143. // values. Inheriting from TestWithParam<T> satisfies that requirement because
  144. // TestWithParam<T> inherits from both Test and WithParamInterface. In more
  145. // complicated hierarchies, however, it is occasionally useful to inherit
  146. // separately from Test and WithParamInterface. For example:
  147. class BaseTest : public ::testing::Test {
  148. // You can inherit all the usual members for a non-parameterized test
  149. // fixture here.
  150. };
  151. class DerivedTest : public BaseTest, public ::testing::WithParamInterface<int> {
  152. // The usual test fixture members go here too.
  153. };
  154. TEST_F(BaseTest, HasFoo) {
  155. // This is an ordinary non-parameterized test.
  156. }
  157. TEST_P(DerivedTest, DoesBlah) {
  158. // GetParam works just the same here as if you inherit from TestWithParam.
  159. EXPECT_TRUE(foo.Blah(GetParam()));
  160. }
  161. #endif // 0
  162. #include "gtest/internal/gtest-port.h"
  163. #if !GTEST_OS_SYMBIAN
  164. # include <utility>
  165. #endif
  166. // scripts/fuse_gtest.py depends on gtest's own header being #included
  167. // *unconditionally*. Therefore these #includes cannot be moved
  168. // inside #if GTEST_HAS_PARAM_TEST.
  169. #include "gtest/internal/gtest-internal.h"
  170. #include "gtest/internal/gtest-param-util.h"
  171. #include "gtest/internal/gtest-param-util-generated.h"
  172. #if GTEST_HAS_PARAM_TEST
  173. namespace testing {
  174. // Functions producing parameter generators.
  175. //
  176. // Google Test uses these generators to produce parameters for value-
  177. // parameterized tests. When a parameterized test case is instantiated
  178. // with a particular generator, Google Test creates and runs tests
  179. // for each element in the sequence produced by the generator.
  180. //
  181. // In the following sample, tests from test case FooTest are instantiated
  182. // each three times with parameter values 3, 5, and 8:
  183. //
  184. // class FooTest : public TestWithParam<int> { ... };
  185. //
  186. // TEST_P(FooTest, TestThis) {
  187. // }
  188. // TEST_P(FooTest, TestThat) {
  189. // }
  190. // INSTANTIATE_TEST_CASE_P(TestSequence, FooTest, Values(3, 5, 8));
  191. //
  192. // Range() returns generators providing sequences of values in a range.
  193. //
  194. // Synopsis:
  195. // Range(start, end)
  196. // - returns a generator producing a sequence of values {start, start+1,
  197. // start+2, ..., }.
  198. // Range(start, end, step)
  199. // - returns a generator producing a sequence of values {start, start+step,
  200. // start+step+step, ..., }.
  201. // Notes:
  202. // * The generated sequences never include end. For example, Range(1, 5)
  203. // returns a generator producing a sequence {1, 2, 3, 4}. Range(1, 9, 2)
  204. // returns a generator producing {1, 3, 5, 7}.
  205. // * start and end must have the same type. That type may be any integral or
  206. // floating-point type or a user defined type satisfying these conditions:
  207. // * It must be assignable (have operator=() defined).
  208. // * It must have operator+() (operator+(int-compatible type) for
  209. // two-operand version).
  210. // * It must have operator<() defined.
  211. // Elements in the resulting sequences will also have that type.
  212. // * Condition start < end must be satisfied in order for resulting sequences
  213. // to contain any elements.
  214. //
  215. template <typename T, typename IncrementT>
  216. internal::ParamGenerator<T> Range(T start, T end, IncrementT step) {
  217. return internal::ParamGenerator<T>(
  218. new internal::RangeGenerator<T, IncrementT>(start, end, step));
  219. }
  220. template <typename T>
  221. internal::ParamGenerator<T> Range(T start, T end) {
  222. return Range(start, end, 1);
  223. }
  224. // ValuesIn() function allows generation of tests with parameters coming from
  225. // a container.
  226. //
  227. // Synopsis:
  228. // ValuesIn(const T (&array)[N])
  229. // - returns a generator producing sequences with elements from
  230. // a C-style array.
  231. // ValuesIn(const Container& container)
  232. // - returns a generator producing sequences with elements from
  233. // an STL-style container.
  234. // ValuesIn(Iterator begin, Iterator end)
  235. // - returns a generator producing sequences with elements from
  236. // a range [begin, end) defined by a pair of STL-style iterators. These
  237. // iterators can also be plain C pointers.
  238. //
  239. // Please note that ValuesIn copies the values from the containers
  240. // passed in and keeps them to generate tests in RUN_ALL_TESTS().
  241. //
  242. // Examples:
  243. //
  244. // This instantiates tests from test case StringTest
  245. // each with C-string values of "foo", "bar", and "baz":
  246. //
  247. // const char* strings[] = {"foo", "bar", "baz"};
  248. // INSTANTIATE_TEST_CASE_P(StringSequence, SrtingTest, ValuesIn(strings));
  249. //
  250. // This instantiates tests from test case StlStringTest
  251. // each with STL strings with values "a" and "b":
  252. //
  253. // ::std::vector< ::std::string> GetParameterStrings() {
  254. // ::std::vector< ::std::string> v;
  255. // v.push_back("a");
  256. // v.push_back("b");
  257. // return v;
  258. // }
  259. //
  260. // INSTANTIATE_TEST_CASE_P(CharSequence,
  261. // StlStringTest,
  262. // ValuesIn(GetParameterStrings()));
  263. //
  264. //
  265. // This will also instantiate tests from CharTest
  266. // each with parameter values 'a' and 'b':
  267. //
  268. // ::std::list<char> GetParameterChars() {
  269. // ::std::list<char> list;
  270. // list.push_back('a');
  271. // list.push_back('b');
  272. // return list;
  273. // }
  274. // ::std::list<char> l = GetParameterChars();
  275. // INSTANTIATE_TEST_CASE_P(CharSequence2,
  276. // CharTest,
  277. // ValuesIn(l.begin(), l.end()));
  278. //
  279. template <typename ForwardIterator>
  280. internal::ParamGenerator<
  281. typename ::testing::internal::IteratorTraits<ForwardIterator>::value_type>
  282. ValuesIn(ForwardIterator begin, ForwardIterator end) {
  283. typedef typename ::testing::internal::IteratorTraits<ForwardIterator>
  284. ::value_type ParamType;
  285. return internal::ParamGenerator<ParamType>(
  286. new internal::ValuesInIteratorRangeGenerator<ParamType>(begin, end));
  287. }
  288. template <typename T, size_t N>
  289. internal::ParamGenerator<T> ValuesIn(const T (&array)[N]) {
  290. return ValuesIn(array, array + N);
  291. }
  292. template <class Container>
  293. internal::ParamGenerator<typename Container::value_type> ValuesIn(
  294. const Container& container) {
  295. return ValuesIn(container.begin(), container.end());
  296. }
  297. // Values() allows generating tests from explicitly specified list of
  298. // parameters.
  299. //
  300. // Synopsis:
  301. // Values(T v1, T v2, ..., T vN)
  302. // - returns a generator producing sequences with elements v1, v2, ..., vN.
  303. //
  304. // For example, this instantiates tests from test case BarTest each
  305. // with values "one", "two", and "three":
  306. //
  307. // INSTANTIATE_TEST_CASE_P(NumSequence, BarTest, Values("one", "two", "three"));
  308. //
  309. // This instantiates tests from test case BazTest each with values 1, 2, 3.5.
  310. // The exact type of values will depend on the type of parameter in BazTest.
  311. //
  312. // INSTANTIATE_TEST_CASE_P(FloatingNumbers, BazTest, Values(1, 2, 3.5));
  313. //
  314. // Currently, Values() supports from 1 to 50 parameters.
  315. //
  316. template <typename T1>
  317. internal::ValueArray1<T1> Values(T1 v1) {
  318. return internal::ValueArray1<T1>(v1);
  319. }
  320. template <typename T1, typename T2>
  321. internal::ValueArray2<T1, T2> Values(T1 v1, T2 v2) {
  322. return internal::ValueArray2<T1, T2>(v1, v2);
  323. }
  324. template <typename T1, typename T2, typename T3>
  325. internal::ValueArray3<T1, T2, T3> Values(T1 v1, T2 v2, T3 v3) {
  326. return internal::ValueArray3<T1, T2, T3>(v1, v2, v3);
  327. }
  328. template <typename T1, typename T2, typename T3, typename T4>
  329. internal::ValueArray4<T1, T2, T3, T4> Values(T1 v1, T2 v2, T3 v3, T4 v4) {
  330. return internal::ValueArray4<T1, T2, T3, T4>(v1, v2, v3, v4);
  331. }
  332. template <typename T1, typename T2, typename T3, typename T4, typename T5>
  333. internal::ValueArray5<T1, T2, T3, T4, T5> Values(T1 v1, T2 v2, T3 v3, T4 v4,
  334. T5 v5) {
  335. return internal::ValueArray5<T1, T2, T3, T4, T5>(v1, v2, v3, v4, v5);
  336. }
  337. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  338. typename T6>
  339. internal::ValueArray6<T1, T2, T3, T4, T5, T6> Values(T1 v1, T2 v2, T3 v3,
  340. T4 v4, T5 v5, T6 v6) {
  341. return internal::ValueArray6<T1, T2, T3, T4, T5, T6>(v1, v2, v3, v4, v5, v6);
  342. }
  343. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  344. typename T6, typename T7>
  345. internal::ValueArray7<T1, T2, T3, T4, T5, T6, T7> Values(T1 v1, T2 v2, T3 v3,
  346. T4 v4, T5 v5, T6 v6, T7 v7) {
  347. return internal::ValueArray7<T1, T2, T3, T4, T5, T6, T7>(v1, v2, v3, v4, v5,
  348. v6, v7);
  349. }
  350. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  351. typename T6, typename T7, typename T8>
  352. internal::ValueArray8<T1, T2, T3, T4, T5, T6, T7, T8> Values(T1 v1, T2 v2,
  353. T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8) {
  354. return internal::ValueArray8<T1, T2, T3, T4, T5, T6, T7, T8>(v1, v2, v3, v4,
  355. v5, v6, v7, v8);
  356. }
  357. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  358. typename T6, typename T7, typename T8, typename T9>
  359. internal::ValueArray9<T1, T2, T3, T4, T5, T6, T7, T8, T9> Values(T1 v1, T2 v2,
  360. T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9) {
  361. return internal::ValueArray9<T1, T2, T3, T4, T5, T6, T7, T8, T9>(v1, v2, v3,
  362. v4, v5, v6, v7, v8, v9);
  363. }
  364. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  365. typename T6, typename T7, typename T8, typename T9, typename T10>
  366. internal::ValueArray10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> Values(T1 v1,
  367. T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10) {
  368. return internal::ValueArray10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(v1,
  369. v2, v3, v4, v5, v6, v7, v8, v9, v10);
  370. }
  371. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  372. typename T6, typename T7, typename T8, typename T9, typename T10,
  373. typename T11>
  374. internal::ValueArray11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10,
  375. T11> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  376. T10 v10, T11 v11) {
  377. return internal::ValueArray11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10,
  378. T11>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11);
  379. }
  380. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  381. typename T6, typename T7, typename T8, typename T9, typename T10,
  382. typename T11, typename T12>
  383. internal::ValueArray12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  384. T12> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  385. T10 v10, T11 v11, T12 v12) {
  386. return internal::ValueArray12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  387. T12>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12);
  388. }
  389. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  390. typename T6, typename T7, typename T8, typename T9, typename T10,
  391. typename T11, typename T12, typename T13>
  392. internal::ValueArray13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12,
  393. T13> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  394. T10 v10, T11 v11, T12 v12, T13 v13) {
  395. return internal::ValueArray13<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  396. T12, T13>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13);
  397. }
  398. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  399. typename T6, typename T7, typename T8, typename T9, typename T10,
  400. typename T11, typename T12, typename T13, typename T14>
  401. internal::ValueArray14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  402. T14> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  403. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14) {
  404. return internal::ValueArray14<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  405. T12, T13, T14>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13,
  406. v14);
  407. }
  408. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  409. typename T6, typename T7, typename T8, typename T9, typename T10,
  410. typename T11, typename T12, typename T13, typename T14, typename T15>
  411. internal::ValueArray15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  412. T14, T15> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8,
  413. T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15) {
  414. return internal::ValueArray15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  415. T12, T13, T14, T15>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12,
  416. v13, v14, v15);
  417. }
  418. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  419. typename T6, typename T7, typename T8, typename T9, typename T10,
  420. typename T11, typename T12, typename T13, typename T14, typename T15,
  421. typename T16>
  422. internal::ValueArray16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  423. T14, T15, T16> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7,
  424. T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  425. T16 v16) {
  426. return internal::ValueArray16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  427. T12, T13, T14, T15, T16>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11,
  428. v12, v13, v14, v15, v16);
  429. }
  430. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  431. typename T6, typename T7, typename T8, typename T9, typename T10,
  432. typename T11, typename T12, typename T13, typename T14, typename T15,
  433. typename T16, typename T17>
  434. internal::ValueArray17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  435. T14, T15, T16, T17> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7,
  436. T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  437. T16 v16, T17 v17) {
  438. return internal::ValueArray17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  439. T12, T13, T14, T15, T16, T17>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10,
  440. v11, v12, v13, v14, v15, v16, v17);
  441. }
  442. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  443. typename T6, typename T7, typename T8, typename T9, typename T10,
  444. typename T11, typename T12, typename T13, typename T14, typename T15,
  445. typename T16, typename T17, typename T18>
  446. internal::ValueArray18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  447. T14, T15, T16, T17, T18> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6,
  448. T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  449. T16 v16, T17 v17, T18 v18) {
  450. return internal::ValueArray18<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  451. T12, T13, T14, T15, T16, T17, T18>(v1, v2, v3, v4, v5, v6, v7, v8, v9,
  452. v10, v11, v12, v13, v14, v15, v16, v17, v18);
  453. }
  454. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  455. typename T6, typename T7, typename T8, typename T9, typename T10,
  456. typename T11, typename T12, typename T13, typename T14, typename T15,
  457. typename T16, typename T17, typename T18, typename T19>
  458. internal::ValueArray19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  459. T14, T15, T16, T17, T18, T19> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5,
  460. T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14,
  461. T15 v15, T16 v16, T17 v17, T18 v18, T19 v19) {
  462. return internal::ValueArray19<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  463. T12, T13, T14, T15, T16, T17, T18, T19>(v1, v2, v3, v4, v5, v6, v7, v8,
  464. v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19);
  465. }
  466. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  467. typename T6, typename T7, typename T8, typename T9, typename T10,
  468. typename T11, typename T12, typename T13, typename T14, typename T15,
  469. typename T16, typename T17, typename T18, typename T19, typename T20>
  470. internal::ValueArray20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  471. T14, T15, T16, T17, T18, T19, T20> Values(T1 v1, T2 v2, T3 v3, T4 v4,
  472. T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13,
  473. T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20) {
  474. return internal::ValueArray20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  475. T12, T13, T14, T15, T16, T17, T18, T19, T20>(v1, v2, v3, v4, v5, v6, v7,
  476. v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20);
  477. }
  478. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  479. typename T6, typename T7, typename T8, typename T9, typename T10,
  480. typename T11, typename T12, typename T13, typename T14, typename T15,
  481. typename T16, typename T17, typename T18, typename T19, typename T20,
  482. typename T21>
  483. internal::ValueArray21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  484. T14, T15, T16, T17, T18, T19, T20, T21> Values(T1 v1, T2 v2, T3 v3, T4 v4,
  485. T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13,
  486. T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21) {
  487. return internal::ValueArray21<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  488. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21>(v1, v2, v3, v4, v5, v6,
  489. v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21);
  490. }
  491. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  492. typename T6, typename T7, typename T8, typename T9, typename T10,
  493. typename T11, typename T12, typename T13, typename T14, typename T15,
  494. typename T16, typename T17, typename T18, typename T19, typename T20,
  495. typename T21, typename T22>
  496. internal::ValueArray22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  497. T14, T15, T16, T17, T18, T19, T20, T21, T22> Values(T1 v1, T2 v2, T3 v3,
  498. T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12,
  499. T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20,
  500. T21 v21, T22 v22) {
  501. return internal::ValueArray22<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  502. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>(v1, v2, v3, v4,
  503. v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19,
  504. v20, v21, v22);
  505. }
  506. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  507. typename T6, typename T7, typename T8, typename T9, typename T10,
  508. typename T11, typename T12, typename T13, typename T14, typename T15,
  509. typename T16, typename T17, typename T18, typename T19, typename T20,
  510. typename T21, typename T22, typename T23>
  511. internal::ValueArray23<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  512. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23> Values(T1 v1, T2 v2,
  513. T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12,
  514. T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20,
  515. T21 v21, T22 v22, T23 v23) {
  516. return internal::ValueArray23<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  517. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23>(v1, v2, v3,
  518. v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19,
  519. v20, v21, v22, v23);
  520. }
  521. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  522. typename T6, typename T7, typename T8, typename T9, typename T10,
  523. typename T11, typename T12, typename T13, typename T14, typename T15,
  524. typename T16, typename T17, typename T18, typename T19, typename T20,
  525. typename T21, typename T22, typename T23, typename T24>
  526. internal::ValueArray24<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  527. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24> Values(T1 v1, T2 v2,
  528. T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12,
  529. T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20,
  530. T21 v21, T22 v22, T23 v23, T24 v24) {
  531. return internal::ValueArray24<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  532. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24>(v1, v2,
  533. v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18,
  534. v19, v20, v21, v22, v23, v24);
  535. }
  536. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  537. typename T6, typename T7, typename T8, typename T9, typename T10,
  538. typename T11, typename T12, typename T13, typename T14, typename T15,
  539. typename T16, typename T17, typename T18, typename T19, typename T20,
  540. typename T21, typename T22, typename T23, typename T24, typename T25>
  541. internal::ValueArray25<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  542. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25> Values(T1 v1,
  543. T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11,
  544. T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19,
  545. T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25) {
  546. return internal::ValueArray25<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  547. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25>(v1,
  548. v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17,
  549. v18, v19, v20, v21, v22, v23, v24, v25);
  550. }
  551. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  552. typename T6, typename T7, typename T8, typename T9, typename T10,
  553. typename T11, typename T12, typename T13, typename T14, typename T15,
  554. typename T16, typename T17, typename T18, typename T19, typename T20,
  555. typename T21, typename T22, typename T23, typename T24, typename T25,
  556. typename T26>
  557. internal::ValueArray26<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  558. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  559. T26> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  560. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  561. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  562. T26 v26) {
  563. return internal::ValueArray26<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  564. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  565. T26>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15,
  566. v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26);
  567. }
  568. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  569. typename T6, typename T7, typename T8, typename T9, typename T10,
  570. typename T11, typename T12, typename T13, typename T14, typename T15,
  571. typename T16, typename T17, typename T18, typename T19, typename T20,
  572. typename T21, typename T22, typename T23, typename T24, typename T25,
  573. typename T26, typename T27>
  574. internal::ValueArray27<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  575. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26,
  576. T27> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  577. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  578. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  579. T26 v26, T27 v27) {
  580. return internal::ValueArray27<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  581. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  582. T26, T27>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14,
  583. v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27);
  584. }
  585. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  586. typename T6, typename T7, typename T8, typename T9, typename T10,
  587. typename T11, typename T12, typename T13, typename T14, typename T15,
  588. typename T16, typename T17, typename T18, typename T19, typename T20,
  589. typename T21, typename T22, typename T23, typename T24, typename T25,
  590. typename T26, typename T27, typename T28>
  591. internal::ValueArray28<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  592. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27,
  593. T28> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  594. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  595. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  596. T26 v26, T27 v27, T28 v28) {
  597. return internal::ValueArray28<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  598. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  599. T26, T27, T28>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13,
  600. v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27,
  601. v28);
  602. }
  603. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  604. typename T6, typename T7, typename T8, typename T9, typename T10,
  605. typename T11, typename T12, typename T13, typename T14, typename T15,
  606. typename T16, typename T17, typename T18, typename T19, typename T20,
  607. typename T21, typename T22, typename T23, typename T24, typename T25,
  608. typename T26, typename T27, typename T28, typename T29>
  609. internal::ValueArray29<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  610. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  611. T29> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  612. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  613. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  614. T26 v26, T27 v27, T28 v28, T29 v29) {
  615. return internal::ValueArray29<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  616. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  617. T26, T27, T28, T29>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12,
  618. v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26,
  619. v27, v28, v29);
  620. }
  621. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  622. typename T6, typename T7, typename T8, typename T9, typename T10,
  623. typename T11, typename T12, typename T13, typename T14, typename T15,
  624. typename T16, typename T17, typename T18, typename T19, typename T20,
  625. typename T21, typename T22, typename T23, typename T24, typename T25,
  626. typename T26, typename T27, typename T28, typename T29, typename T30>
  627. internal::ValueArray30<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  628. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  629. T29, T30> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8,
  630. T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16,
  631. T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24,
  632. T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30) {
  633. return internal::ValueArray30<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  634. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  635. T26, T27, T28, T29, T30>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11,
  636. v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25,
  637. v26, v27, v28, v29, v30);
  638. }
  639. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  640. typename T6, typename T7, typename T8, typename T9, typename T10,
  641. typename T11, typename T12, typename T13, typename T14, typename T15,
  642. typename T16, typename T17, typename T18, typename T19, typename T20,
  643. typename T21, typename T22, typename T23, typename T24, typename T25,
  644. typename T26, typename T27, typename T28, typename T29, typename T30,
  645. typename T31>
  646. internal::ValueArray31<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  647. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  648. T29, T30, T31> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7,
  649. T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  650. T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23,
  651. T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31) {
  652. return internal::ValueArray31<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  653. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  654. T26, T27, T28, T29, T30, T31>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10,
  655. v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24,
  656. v25, v26, v27, v28, v29, v30, v31);
  657. }
  658. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  659. typename T6, typename T7, typename T8, typename T9, typename T10,
  660. typename T11, typename T12, typename T13, typename T14, typename T15,
  661. typename T16, typename T17, typename T18, typename T19, typename T20,
  662. typename T21, typename T22, typename T23, typename T24, typename T25,
  663. typename T26, typename T27, typename T28, typename T29, typename T30,
  664. typename T31, typename T32>
  665. internal::ValueArray32<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  666. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  667. T29, T30, T31, T32> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7,
  668. T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  669. T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23,
  670. T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31,
  671. T32 v32) {
  672. return internal::ValueArray32<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  673. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  674. T26, T27, T28, T29, T30, T31, T32>(v1, v2, v3, v4, v5, v6, v7, v8, v9,
  675. v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23,
  676. v24, v25, v26, v27, v28, v29, v30, v31, v32);
  677. }
  678. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  679. typename T6, typename T7, typename T8, typename T9, typename T10,
  680. typename T11, typename T12, typename T13, typename T14, typename T15,
  681. typename T16, typename T17, typename T18, typename T19, typename T20,
  682. typename T21, typename T22, typename T23, typename T24, typename T25,
  683. typename T26, typename T27, typename T28, typename T29, typename T30,
  684. typename T31, typename T32, typename T33>
  685. internal::ValueArray33<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  686. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  687. T29, T30, T31, T32, T33> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6,
  688. T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  689. T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23,
  690. T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31,
  691. T32 v32, T33 v33) {
  692. return internal::ValueArray33<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  693. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  694. T26, T27, T28, T29, T30, T31, T32, T33>(v1, v2, v3, v4, v5, v6, v7, v8,
  695. v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23,
  696. v24, v25, v26, v27, v28, v29, v30, v31, v32, v33);
  697. }
  698. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  699. typename T6, typename T7, typename T8, typename T9, typename T10,
  700. typename T11, typename T12, typename T13, typename T14, typename T15,
  701. typename T16, typename T17, typename T18, typename T19, typename T20,
  702. typename T21, typename T22, typename T23, typename T24, typename T25,
  703. typename T26, typename T27, typename T28, typename T29, typename T30,
  704. typename T31, typename T32, typename T33, typename T34>
  705. internal::ValueArray34<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  706. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  707. T29, T30, T31, T32, T33, T34> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5,
  708. T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14,
  709. T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22,
  710. T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30,
  711. T31 v31, T32 v32, T33 v33, T34 v34) {
  712. return internal::ValueArray34<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  713. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  714. T26, T27, T28, T29, T30, T31, T32, T33, T34>(v1, v2, v3, v4, v5, v6, v7,
  715. v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22,
  716. v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34);
  717. }
  718. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  719. typename T6, typename T7, typename T8, typename T9, typename T10,
  720. typename T11, typename T12, typename T13, typename T14, typename T15,
  721. typename T16, typename T17, typename T18, typename T19, typename T20,
  722. typename T21, typename T22, typename T23, typename T24, typename T25,
  723. typename T26, typename T27, typename T28, typename T29, typename T30,
  724. typename T31, typename T32, typename T33, typename T34, typename T35>
  725. internal::ValueArray35<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  726. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  727. T29, T30, T31, T32, T33, T34, T35> Values(T1 v1, T2 v2, T3 v3, T4 v4,
  728. T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13,
  729. T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21,
  730. T22 v22, T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29,
  731. T30 v30, T31 v31, T32 v32, T33 v33, T34 v34, T35 v35) {
  732. return internal::ValueArray35<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  733. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  734. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35>(v1, v2, v3, v4, v5, v6,
  735. v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21,
  736. v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35);
  737. }
  738. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  739. typename T6, typename T7, typename T8, typename T9, typename T10,
  740. typename T11, typename T12, typename T13, typename T14, typename T15,
  741. typename T16, typename T17, typename T18, typename T19, typename T20,
  742. typename T21, typename T22, typename T23, typename T24, typename T25,
  743. typename T26, typename T27, typename T28, typename T29, typename T30,
  744. typename T31, typename T32, typename T33, typename T34, typename T35,
  745. typename T36>
  746. internal::ValueArray36<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  747. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  748. T29, T30, T31, T32, T33, T34, T35, T36> Values(T1 v1, T2 v2, T3 v3, T4 v4,
  749. T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13,
  750. T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21,
  751. T22 v22, T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29,
  752. T30 v30, T31 v31, T32 v32, T33 v33, T34 v34, T35 v35, T36 v36) {
  753. return internal::ValueArray36<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  754. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  755. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36>(v1, v2, v3, v4,
  756. v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19,
  757. v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33,
  758. v34, v35, v36);
  759. }
  760. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  761. typename T6, typename T7, typename T8, typename T9, typename T10,
  762. typename T11, typename T12, typename T13, typename T14, typename T15,
  763. typename T16, typename T17, typename T18, typename T19, typename T20,
  764. typename T21, typename T22, typename T23, typename T24, typename T25,
  765. typename T26, typename T27, typename T28, typename T29, typename T30,
  766. typename T31, typename T32, typename T33, typename T34, typename T35,
  767. typename T36, typename T37>
  768. internal::ValueArray37<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  769. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  770. T29, T30, T31, T32, T33, T34, T35, T36, T37> Values(T1 v1, T2 v2, T3 v3,
  771. T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12,
  772. T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20,
  773. T21 v21, T22 v22, T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28,
  774. T29 v29, T30 v30, T31 v31, T32 v32, T33 v33, T34 v34, T35 v35, T36 v36,
  775. T37 v37) {
  776. return internal::ValueArray37<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  777. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  778. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37>(v1, v2, v3,
  779. v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19,
  780. v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33,
  781. v34, v35, v36, v37);
  782. }
  783. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  784. typename T6, typename T7, typename T8, typename T9, typename T10,
  785. typename T11, typename T12, typename T13, typename T14, typename T15,
  786. typename T16, typename T17, typename T18, typename T19, typename T20,
  787. typename T21, typename T22, typename T23, typename T24, typename T25,
  788. typename T26, typename T27, typename T28, typename T29, typename T30,
  789. typename T31, typename T32, typename T33, typename T34, typename T35,
  790. typename T36, typename T37, typename T38>
  791. internal::ValueArray38<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  792. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  793. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38> Values(T1 v1, T2 v2,
  794. T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12,
  795. T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20,
  796. T21 v21, T22 v22, T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28,
  797. T29 v29, T30 v30, T31 v31, T32 v32, T33 v33, T34 v34, T35 v35, T36 v36,
  798. T37 v37, T38 v38) {
  799. return internal::ValueArray38<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  800. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  801. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38>(v1, v2,
  802. v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18,
  803. v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32,
  804. v33, v34, v35, v36, v37, v38);
  805. }
  806. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  807. typename T6, typename T7, typename T8, typename T9, typename T10,
  808. typename T11, typename T12, typename T13, typename T14, typename T15,
  809. typename T16, typename T17, typename T18, typename T19, typename T20,
  810. typename T21, typename T22, typename T23, typename T24, typename T25,
  811. typename T26, typename T27, typename T28, typename T29, typename T30,
  812. typename T31, typename T32, typename T33, typename T34, typename T35,
  813. typename T36, typename T37, typename T38, typename T39>
  814. internal::ValueArray39<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  815. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  816. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39> Values(T1 v1, T2 v2,
  817. T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12,
  818. T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20,
  819. T21 v21, T22 v22, T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28,
  820. T29 v29, T30 v30, T31 v31, T32 v32, T33 v33, T34 v34, T35 v35, T36 v36,
  821. T37 v37, T38 v38, T39 v39) {
  822. return internal::ValueArray39<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  823. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  824. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39>(v1,
  825. v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17,
  826. v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31,
  827. v32, v33, v34, v35, v36, v37, v38, v39);
  828. }
  829. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  830. typename T6, typename T7, typename T8, typename T9, typename T10,
  831. typename T11, typename T12, typename T13, typename T14, typename T15,
  832. typename T16, typename T17, typename T18, typename T19, typename T20,
  833. typename T21, typename T22, typename T23, typename T24, typename T25,
  834. typename T26, typename T27, typename T28, typename T29, typename T30,
  835. typename T31, typename T32, typename T33, typename T34, typename T35,
  836. typename T36, typename T37, typename T38, typename T39, typename T40>
  837. internal::ValueArray40<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  838. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  839. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40> Values(T1 v1,
  840. T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11,
  841. T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19,
  842. T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25, T26 v26, T27 v27,
  843. T28 v28, T29 v29, T30 v30, T31 v31, T32 v32, T33 v33, T34 v34, T35 v35,
  844. T36 v36, T37 v37, T38 v38, T39 v39, T40 v40) {
  845. return internal::ValueArray40<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  846. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  847. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  848. T40>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15,
  849. v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29,
  850. v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40);
  851. }
  852. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  853. typename T6, typename T7, typename T8, typename T9, typename T10,
  854. typename T11, typename T12, typename T13, typename T14, typename T15,
  855. typename T16, typename T17, typename T18, typename T19, typename T20,
  856. typename T21, typename T22, typename T23, typename T24, typename T25,
  857. typename T26, typename T27, typename T28, typename T29, typename T30,
  858. typename T31, typename T32, typename T33, typename T34, typename T35,
  859. typename T36, typename T37, typename T38, typename T39, typename T40,
  860. typename T41>
  861. internal::ValueArray41<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  862. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  863. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40,
  864. T41> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  865. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  866. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  867. T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31, T32 v32, T33 v33,
  868. T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39, T40 v40, T41 v41) {
  869. return internal::ValueArray41<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  870. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  871. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  872. T40, T41>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14,
  873. v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28,
  874. v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41);
  875. }
  876. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  877. typename T6, typename T7, typename T8, typename T9, typename T10,
  878. typename T11, typename T12, typename T13, typename T14, typename T15,
  879. typename T16, typename T17, typename T18, typename T19, typename T20,
  880. typename T21, typename T22, typename T23, typename T24, typename T25,
  881. typename T26, typename T27, typename T28, typename T29, typename T30,
  882. typename T31, typename T32, typename T33, typename T34, typename T35,
  883. typename T36, typename T37, typename T38, typename T39, typename T40,
  884. typename T41, typename T42>
  885. internal::ValueArray42<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  886. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  887. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41,
  888. T42> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  889. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  890. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  891. T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31, T32 v32, T33 v33,
  892. T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39, T40 v40, T41 v41,
  893. T42 v42) {
  894. return internal::ValueArray42<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  895. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  896. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  897. T40, T41, T42>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13,
  898. v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27,
  899. v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41,
  900. v42);
  901. }
  902. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  903. typename T6, typename T7, typename T8, typename T9, typename T10,
  904. typename T11, typename T12, typename T13, typename T14, typename T15,
  905. typename T16, typename T17, typename T18, typename T19, typename T20,
  906. typename T21, typename T22, typename T23, typename T24, typename T25,
  907. typename T26, typename T27, typename T28, typename T29, typename T30,
  908. typename T31, typename T32, typename T33, typename T34, typename T35,
  909. typename T36, typename T37, typename T38, typename T39, typename T40,
  910. typename T41, typename T42, typename T43>
  911. internal::ValueArray43<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  912. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  913. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42,
  914. T43> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  915. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  916. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  917. T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31, T32 v32, T33 v33,
  918. T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39, T40 v40, T41 v41,
  919. T42 v42, T43 v43) {
  920. return internal::ValueArray43<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  921. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  922. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  923. T40, T41, T42, T43>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12,
  924. v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26,
  925. v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40,
  926. v41, v42, v43);
  927. }
  928. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  929. typename T6, typename T7, typename T8, typename T9, typename T10,
  930. typename T11, typename T12, typename T13, typename T14, typename T15,
  931. typename T16, typename T17, typename T18, typename T19, typename T20,
  932. typename T21, typename T22, typename T23, typename T24, typename T25,
  933. typename T26, typename T27, typename T28, typename T29, typename T30,
  934. typename T31, typename T32, typename T33, typename T34, typename T35,
  935. typename T36, typename T37, typename T38, typename T39, typename T40,
  936. typename T41, typename T42, typename T43, typename T44>
  937. internal::ValueArray44<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  938. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  939. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42, T43,
  940. T44> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8, T9 v9,
  941. T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16, T17 v17,
  942. T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24, T25 v25,
  943. T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31, T32 v32, T33 v33,
  944. T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39, T40 v40, T41 v41,
  945. T42 v42, T43 v43, T44 v44) {
  946. return internal::ValueArray44<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  947. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  948. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  949. T40, T41, T42, T43, T44>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11,
  950. v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25,
  951. v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39,
  952. v40, v41, v42, v43, v44);
  953. }
  954. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  955. typename T6, typename T7, typename T8, typename T9, typename T10,
  956. typename T11, typename T12, typename T13, typename T14, typename T15,
  957. typename T16, typename T17, typename T18, typename T19, typename T20,
  958. typename T21, typename T22, typename T23, typename T24, typename T25,
  959. typename T26, typename T27, typename T28, typename T29, typename T30,
  960. typename T31, typename T32, typename T33, typename T34, typename T35,
  961. typename T36, typename T37, typename T38, typename T39, typename T40,
  962. typename T41, typename T42, typename T43, typename T44, typename T45>
  963. internal::ValueArray45<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  964. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  965. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42, T43,
  966. T44, T45> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8,
  967. T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15, T16 v16,
  968. T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23, T24 v24,
  969. T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31, T32 v32,
  970. T33 v33, T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39, T40 v40,
  971. T41 v41, T42 v42, T43 v43, T44 v44, T45 v45) {
  972. return internal::ValueArray45<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  973. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  974. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  975. T40, T41, T42, T43, T44, T45>(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10,
  976. v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24,
  977. v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38,
  978. v39, v40, v41, v42, v43, v44, v45);
  979. }
  980. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  981. typename T6, typename T7, typename T8, typename T9, typename T10,
  982. typename T11, typename T12, typename T13, typename T14, typename T15,
  983. typename T16, typename T17, typename T18, typename T19, typename T20,
  984. typename T21, typename T22, typename T23, typename T24, typename T25,
  985. typename T26, typename T27, typename T28, typename T29, typename T30,
  986. typename T31, typename T32, typename T33, typename T34, typename T35,
  987. typename T36, typename T37, typename T38, typename T39, typename T40,
  988. typename T41, typename T42, typename T43, typename T44, typename T45,
  989. typename T46>
  990. internal::ValueArray46<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  991. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  992. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42, T43,
  993. T44, T45, T46> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7,
  994. T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  995. T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23,
  996. T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31,
  997. T32 v32, T33 v33, T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39,
  998. T40 v40, T41 v41, T42 v42, T43 v43, T44 v44, T45 v45, T46 v46) {
  999. return internal::ValueArray46<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  1000. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  1001. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  1002. T40, T41, T42, T43, T44, T45, T46>(v1, v2, v3, v4, v5, v6, v7, v8, v9,
  1003. v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23,
  1004. v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37,
  1005. v38, v39, v40, v41, v42, v43, v44, v45, v46);
  1006. }
  1007. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  1008. typename T6, typename T7, typename T8, typename T9, typename T10,
  1009. typename T11, typename T12, typename T13, typename T14, typename T15,
  1010. typename T16, typename T17, typename T18, typename T19, typename T20,
  1011. typename T21, typename T22, typename T23, typename T24, typename T25,
  1012. typename T26, typename T27, typename T28, typename T29, typename T30,
  1013. typename T31, typename T32, typename T33, typename T34, typename T35,
  1014. typename T36, typename T37, typename T38, typename T39, typename T40,
  1015. typename T41, typename T42, typename T43, typename T44, typename T45,
  1016. typename T46, typename T47>
  1017. internal::ValueArray47<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  1018. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  1019. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42, T43,
  1020. T44, T45, T46, T47> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7,
  1021. T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  1022. T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23,
  1023. T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31,
  1024. T32 v32, T33 v33, T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39,
  1025. T40 v40, T41 v41, T42 v42, T43 v43, T44 v44, T45 v45, T46 v46, T47 v47) {
  1026. return internal::ValueArray47<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  1027. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  1028. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  1029. T40, T41, T42, T43, T44, T45, T46, T47>(v1, v2, v3, v4, v5, v6, v7, v8,
  1030. v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23,
  1031. v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37,
  1032. v38, v39, v40, v41, v42, v43, v44, v45, v46, v47);
  1033. }
  1034. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  1035. typename T6, typename T7, typename T8, typename T9, typename T10,
  1036. typename T11, typename T12, typename T13, typename T14, typename T15,
  1037. typename T16, typename T17, typename T18, typename T19, typename T20,
  1038. typename T21, typename T22, typename T23, typename T24, typename T25,
  1039. typename T26, typename T27, typename T28, typename T29, typename T30,
  1040. typename T31, typename T32, typename T33, typename T34, typename T35,
  1041. typename T36, typename T37, typename T38, typename T39, typename T40,
  1042. typename T41, typename T42, typename T43, typename T44, typename T45,
  1043. typename T46, typename T47, typename T48>
  1044. internal::ValueArray48<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  1045. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  1046. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42, T43,
  1047. T44, T45, T46, T47, T48> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6,
  1048. T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14, T15 v15,
  1049. T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22, T23 v23,
  1050. T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30, T31 v31,
  1051. T32 v32, T33 v33, T34 v34, T35 v35, T36 v36, T37 v37, T38 v38, T39 v39,
  1052. T40 v40, T41 v41, T42 v42, T43 v43, T44 v44, T45 v45, T46 v46, T47 v47,
  1053. T48 v48) {
  1054. return internal::ValueArray48<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  1055. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  1056. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  1057. T40, T41, T42, T43, T44, T45, T46, T47, T48>(v1, v2, v3, v4, v5, v6, v7,
  1058. v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22,
  1059. v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36,
  1060. v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48);
  1061. }
  1062. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  1063. typename T6, typename T7, typename T8, typename T9, typename T10,
  1064. typename T11, typename T12, typename T13, typename T14, typename T15,
  1065. typename T16, typename T17, typename T18, typename T19, typename T20,
  1066. typename T21, typename T22, typename T23, typename T24, typename T25,
  1067. typename T26, typename T27, typename T28, typename T29, typename T30,
  1068. typename T31, typename T32, typename T33, typename T34, typename T35,
  1069. typename T36, typename T37, typename T38, typename T39, typename T40,
  1070. typename T41, typename T42, typename T43, typename T44, typename T45,
  1071. typename T46, typename T47, typename T48, typename T49>
  1072. internal::ValueArray49<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  1073. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  1074. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42, T43,
  1075. T44, T45, T46, T47, T48, T49> Values(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5,
  1076. T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13, T14 v14,
  1077. T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21, T22 v22,
  1078. T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29, T30 v30,
  1079. T31 v31, T32 v32, T33 v33, T34 v34, T35 v35, T36 v36, T37 v37, T38 v38,
  1080. T39 v39, T40 v40, T41 v41, T42 v42, T43 v43, T44 v44, T45 v45, T46 v46,
  1081. T47 v47, T48 v48, T49 v49) {
  1082. return internal::ValueArray49<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  1083. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  1084. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  1085. T40, T41, T42, T43, T44, T45, T46, T47, T48, T49>(v1, v2, v3, v4, v5, v6,
  1086. v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21,
  1087. v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35,
  1088. v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49);
  1089. }
  1090. template <typename T1, typename T2, typename T3, typename T4, typename T5,
  1091. typename T6, typename T7, typename T8, typename T9, typename T10,
  1092. typename T11, typename T12, typename T13, typename T14, typename T15,
  1093. typename T16, typename T17, typename T18, typename T19, typename T20,
  1094. typename T21, typename T22, typename T23, typename T24, typename T25,
  1095. typename T26, typename T27, typename T28, typename T29, typename T30,
  1096. typename T31, typename T32, typename T33, typename T34, typename T35,
  1097. typename T36, typename T37, typename T38, typename T39, typename T40,
  1098. typename T41, typename T42, typename T43, typename T44, typename T45,
  1099. typename T46, typename T47, typename T48, typename T49, typename T50>
  1100. internal::ValueArray50<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13,
  1101. T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25, T26, T27, T28,
  1102. T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T40, T41, T42, T43,
  1103. T44, T45, T46, T47, T48, T49, T50> Values(T1 v1, T2 v2, T3 v3, T4 v4,
  1104. T5 v5, T6 v6, T7 v7, T8 v8, T9 v9, T10 v10, T11 v11, T12 v12, T13 v13,
  1105. T14 v14, T15 v15, T16 v16, T17 v17, T18 v18, T19 v19, T20 v20, T21 v21,
  1106. T22 v22, T23 v23, T24 v24, T25 v25, T26 v26, T27 v27, T28 v28, T29 v29,
  1107. T30 v30, T31 v31, T32 v32, T33 v33, T34 v34, T35 v35, T36 v36, T37 v37,
  1108. T38 v38, T39 v39, T40 v40, T41 v41, T42 v42, T43 v43, T44 v44, T45 v45,
  1109. T46 v46, T47 v47, T48 v48, T49 v49, T50 v50) {
  1110. return internal::ValueArray50<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11,
  1111. T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, T23, T24, T25,
  1112. T26, T27, T28, T29, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39,
  1113. T40, T41, T42, T43, T44, T45, T46, T47, T48, T49, T50>(v1, v2, v3, v4,
  1114. v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19,
  1115. v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33,
  1116. v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47,
  1117. v48, v49, v50);
  1118. }
  1119. // Bool() allows generating tests with parameters in a set of (false, true).
  1120. //
  1121. // Synopsis:
  1122. // Bool()
  1123. // - returns a generator producing sequences with elements {false, true}.
  1124. //
  1125. // It is useful when testing code that depends on Boolean flags. Combinations
  1126. // of multiple flags can be tested when several Bool()'s are combined using
  1127. // Combine() function.
  1128. //
  1129. // In the following example all tests in the test case FlagDependentTest
  1130. // will be instantiated twice with parameters false and true.
  1131. //
  1132. // class FlagDependentTest : public testing::TestWithParam<bool> {
  1133. // virtual void SetUp() {
  1134. // external_flag = GetParam();
  1135. // }
  1136. // }
  1137. // INSTANTIATE_TEST_CASE_P(BoolSequence, FlagDependentTest, Bool());
  1138. //
  1139. inline internal::ParamGenerator<bool> Bool() {
  1140. return Values(false, true);
  1141. }
  1142. # if GTEST_HAS_COMBINE
  1143. // Combine() allows the user to combine two or more sequences to produce
  1144. // values of a Cartesian product of those sequences' elements.
  1145. //
  1146. // Synopsis:
  1147. // Combine(gen1, gen2, ..., genN)
  1148. // - returns a generator producing sequences with elements coming from
  1149. // the Cartesian product of elements from the sequences generated by
  1150. // gen1, gen2, ..., genN. The sequence elements will have a type of
  1151. // tuple<T1, T2, ..., TN> where T1, T2, ..., TN are the types
  1152. // of elements from sequences produces by gen1, gen2, ..., genN.
  1153. //
  1154. // Combine can have up to 10 arguments. This number is currently limited
  1155. // by the maximum number of elements in the tuple implementation used by Google
  1156. // Test.
  1157. //
  1158. // Example:
  1159. //
  1160. // This will instantiate tests in test case AnimalTest each one with
  1161. // the parameter values tuple("cat", BLACK), tuple("cat", WHITE),
  1162. // tuple("dog", BLACK), and tuple("dog", WHITE):
  1163. //
  1164. // enum Color { BLACK, GRAY, WHITE };
  1165. // class AnimalTest
  1166. // : public testing::TestWithParam<tuple<const char*, Color> > {...};
  1167. //
  1168. // TEST_P(AnimalTest, AnimalLooksNice) {...}
  1169. //
  1170. // INSTANTIATE_TEST_CASE_P(AnimalVariations, AnimalTest,
  1171. // Combine(Values("cat", "dog"),
  1172. // Values(BLACK, WHITE)));
  1173. //
  1174. // This will instantiate tests in FlagDependentTest with all variations of two
  1175. // Boolean flags:
  1176. //
  1177. // class FlagDependentTest
  1178. // : public testing::TestWithParam<tuple<bool, bool> > {
  1179. // virtual void SetUp() {
  1180. // // Assigns external_flag_1 and external_flag_2 values from the tuple.
  1181. // tie(external_flag_1, external_flag_2) = GetParam();
  1182. // }
  1183. // };
  1184. //
  1185. // TEST_P(FlagDependentTest, TestFeature1) {
  1186. // // Test your code using external_flag_1 and external_flag_2 here.
  1187. // }
  1188. // INSTANTIATE_TEST_CASE_P(TwoBoolSequence, FlagDependentTest,
  1189. // Combine(Bool(), Bool()));
  1190. //
  1191. template <typename Generator1, typename Generator2>
  1192. internal::CartesianProductHolder2<Generator1, Generator2> Combine(
  1193. const Generator1& g1, const Generator2& g2) {
  1194. return internal::CartesianProductHolder2<Generator1, Generator2>(
  1195. g1, g2);
  1196. }
  1197. template <typename Generator1, typename Generator2, typename Generator3>
  1198. internal::CartesianProductHolder3<Generator1, Generator2, Generator3> Combine(
  1199. const Generator1& g1, const Generator2& g2, const Generator3& g3) {
  1200. return internal::CartesianProductHolder3<Generator1, Generator2, Generator3>(
  1201. g1, g2, g3);
  1202. }
  1203. template <typename Generator1, typename Generator2, typename Generator3,
  1204. typename Generator4>
  1205. internal::CartesianProductHolder4<Generator1, Generator2, Generator3,
  1206. Generator4> Combine(
  1207. const Generator1& g1, const Generator2& g2, const Generator3& g3,
  1208. const Generator4& g4) {
  1209. return internal::CartesianProductHolder4<Generator1, Generator2, Generator3,
  1210. Generator4>(
  1211. g1, g2, g3, g4);
  1212. }
  1213. template <typename Generator1, typename Generator2, typename Generator3,
  1214. typename Generator4, typename Generator5>
  1215. internal::CartesianProductHolder5<Generator1, Generator2, Generator3,
  1216. Generator4, Generator5> Combine(
  1217. const Generator1& g1, const Generator2& g2, const Generator3& g3,
  1218. const Generator4& g4, const Generator5& g5) {
  1219. return internal::CartesianProductHolder5<Generator1, Generator2, Generator3,
  1220. Generator4, Generator5>(
  1221. g1, g2, g3, g4, g5);
  1222. }
  1223. template <typename Generator1, typename Generator2, typename Generator3,
  1224. typename Generator4, typename Generator5, typename Generator6>
  1225. internal::CartesianProductHolder6<Generator1, Generator2, Generator3,
  1226. Generator4, Generator5, Generator6> Combine(
  1227. const Generator1& g1, const Generator2& g2, const Generator3& g3,
  1228. const Generator4& g4, const Generator5& g5, const Generator6& g6) {
  1229. return internal::CartesianProductHolder6<Generator1, Generator2, Generator3,
  1230. Generator4, Generator5, Generator6>(
  1231. g1, g2, g3, g4, g5, g6);
  1232. }
  1233. template <typename Generator1, typename Generator2, typename Generator3,
  1234. typename Generator4, typename Generator5, typename Generator6,
  1235. typename Generator7>
  1236. internal::CartesianProductHolder7<Generator1, Generator2, Generator3,
  1237. Generator4, Generator5, Generator6, Generator7> Combine(
  1238. const Generator1& g1, const Generator2& g2, const Generator3& g3,
  1239. const Generator4& g4, const Generator5& g5, const Generator6& g6,
  1240. const Generator7& g7) {
  1241. return internal::CartesianProductHolder7<Generator1, Generator2, Generator3,
  1242. Generator4, Generator5, Generator6, Generator7>(
  1243. g1, g2, g3, g4, g5, g6, g7);
  1244. }
  1245. template <typename Generator1, typename Generator2, typename Generator3,
  1246. typename Generator4, typename Generator5, typename Generator6,
  1247. typename Generator7, typename Generator8>
  1248. internal::CartesianProductHolder8<Generator1, Generator2, Generator3,
  1249. Generator4, Generator5, Generator6, Generator7, Generator8> Combine(
  1250. const Generator1& g1, const Generator2& g2, const Generator3& g3,
  1251. const Generator4& g4, const Generator5& g5, const Generator6& g6,
  1252. const Generator7& g7, const Generator8& g8) {
  1253. return internal::CartesianProductHolder8<Generator1, Generator2, Generator3,
  1254. Generator4, Generator5, Generator6, Generator7, Generator8>(
  1255. g1, g2, g3, g4, g5, g6, g7, g8);
  1256. }
  1257. template <typename Generator1, typename Generator2, typename Generator3,
  1258. typename Generator4, typename Generator5, typename Generator6,
  1259. typename Generator7, typename Generator8, typename Generator9>
  1260. internal::CartesianProductHolder9<Generator1, Generator2, Generator3,
  1261. Generator4, Generator5, Generator6, Generator7, Generator8,
  1262. Generator9> Combine(
  1263. const Generator1& g1, const Generator2& g2, const Generator3& g3,
  1264. const Generator4& g4, const Generator5& g5, const Generator6& g6,
  1265. const Generator7& g7, const Generator8& g8, const Generator9& g9) {
  1266. return internal::CartesianProductHolder9<Generator1, Generator2, Generator3,
  1267. Generator4, Generator5, Generator6, Generator7, Generator8, Generator9>(
  1268. g1, g2, g3, g4, g5, g6, g7, g8, g9);
  1269. }
  1270. template <typename Generator1, typename Generator2, typename Generator3,
  1271. typename Generator4, typename Generator5, typename Generator6,
  1272. typename Generator7, typename Generator8, typename Generator9,
  1273. typename Generator10>
  1274. internal::CartesianProductHolder10<Generator1, Generator2, Generator3,
  1275. Generator4, Generator5, Generator6, Generator7, Generator8, Generator9,
  1276. Generator10> Combine(
  1277. const Generator1& g1, const Generator2& g2, const Generator3& g3,
  1278. const Generator4& g4, const Generator5& g5, const Generator6& g6,
  1279. const Generator7& g7, const Generator8& g8, const Generator9& g9,
  1280. const Generator10& g10) {
  1281. return internal::CartesianProductHolder10<Generator1, Generator2, Generator3,
  1282. Generator4, Generator5, Generator6, Generator7, Generator8, Generator9,
  1283. Generator10>(
  1284. g1, g2, g3, g4, g5, g6, g7, g8, g9, g10);
  1285. }
  1286. # endif // GTEST_HAS_COMBINE
  1287. # define TEST_P(test_case_name, test_name) \
  1288. class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \
  1289. : public test_case_name { \
  1290. public: \
  1291. GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {} \
  1292. virtual void TestBody(); \
  1293. private: \
  1294. static int AddToRegistry() { \
  1295. ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
  1296. GetTestCasePatternHolder<test_case_name>(\
  1297. #test_case_name, __FILE__, __LINE__)->AddTestPattern(\
  1298. #test_case_name, \
  1299. #test_name, \
  1300. new ::testing::internal::TestMetaFactory< \
  1301. GTEST_TEST_CLASS_NAME_(test_case_name, test_name)>()); \
  1302. return 0; \
  1303. } \
  1304. static int gtest_registering_dummy_; \
  1305. GTEST_DISALLOW_COPY_AND_ASSIGN_(\
  1306. GTEST_TEST_CLASS_NAME_(test_case_name, test_name)); \
  1307. }; \
  1308. int GTEST_TEST_CLASS_NAME_(test_case_name, \
  1309. test_name)::gtest_registering_dummy_ = \
  1310. GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::AddToRegistry(); \
  1311. void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::TestBody()
  1312. # define INSTANTIATE_TEST_CASE_P(prefix, test_case_name, generator) \
  1313. ::testing::internal::ParamGenerator<test_case_name::ParamType> \
  1314. gtest_##prefix##test_case_name##_EvalGenerator_() { return generator; } \
  1315. int gtest_##prefix##test_case_name##_dummy_ = \
  1316. ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
  1317. GetTestCasePatternHolder<test_case_name>(\
  1318. #test_case_name, __FILE__, __LINE__)->AddTestCaseInstantiation(\
  1319. #prefix, \
  1320. &gtest_##prefix##test_case_name##_EvalGenerator_, \
  1321. __FILE__, __LINE__)
  1322. } // namespace testing
  1323. #endif // GTEST_HAS_PARAM_TEST
  1324. #endif // GTEST_INCLUDE_GTEST_GTEST_PARAM_TEST_H_