Function Benchmark

Summary

#include <include/internal/benchmark/catch_benchmark.hpp>

(1) Benchmark(std::string &&name)

(2) template <class FUN>
    Benchmark(std::string &&name, FUN &&func)

Function overload

Synopsis

#include <include/internal/benchmark/catch_benchmark.hpp>

Benchmark(std::string &&name)

Description

No description yet.

Source

Lines 37-38 in include/internal/benchmark/catch_benchmark.hpp.

Benchmark(std::string &&name)
    : name(std::move(name)) {}

Synopsis

#include <include/internal/benchmark/catch_benchmark.hpp>

template <class FUN>
Benchmark(std::string &&name, FUN &&func)

Description

No description yet.

Source

Lines 40-42 in include/internal/benchmark/catch_benchmark.hpp.

template <class FUN>
Benchmark(std::string &&name, FUN &&func)
    : fun(std::move(func)), name(std::move(name)) {}





Add Discussion as Guest

Log in