Collection of magic C macro and C++ template programming
random_input.cc
: apply a function with random inputs.
auto foo = [](int a, int b, float c) -> float {
return a + b + c;
};
std::cout << random_run(foo) << std::endl;
Collection of magic C macro and C++ template programming tricks
Collection of magic C macro and C++ template programming
random_input.cc
: apply a function with random inputs.auto foo = [](int a, int b, float c) -> float {
return a + b + c;
};
std::cout << random_run(foo) << std::endl;
Collection of magic C macro and C++ template programming tricks