Lines Matching refs:Args
40 template <class B, class Args, size_t... Is>
41 void makeBenchmarkFromValuesImpl(const Args& A, std::index_sequence<Is...>) {
51 template <class B, class... Args>
52 void makeBenchmarkFromValues(const std::vector<std::tuple<Args...> >& A) {
53 makeBenchmarkFromValuesImpl<B>(A, std::index_sequence_for<Args...>());
56 template <template <class...> class B, class Args, class... U>
57 void makeBenchmarkImpl(const Args& A, std::tuple<U...> t) {
61 template <template <class...> class B, class Args, class... U,
63 void makeBenchmarkImpl(const Args& A, std::tuple<U...>, std::tuple<T...>,
105 // - std::string name(args...): The name of the benchmark.
106 // - void run(benchmark::State&, args...): The body of the benchmark.
108 // - bool skip(args...): When `true`, skips the combination. Default is false.
111 template <template <class...> class B, class... Tuples, class... Args>
112 int makeCartesianProductBenchmark(const Args&... A) {
113 std::vector<std::tuple<typename Args::value_type...> > V;
119 template <class B, class... Args>
120 int makeCartesianProductBenchmark(const Args&... A) {
121 std::vector<std::tuple<typename Args::value_type...> > V;