wongsingfo / cc-trick

Collection of magic C macro and C++ template programming tricks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cc-trick

Collection of magic C macro and C++ template programming

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;

About

Collection of magic C macro and C++ template programming tricks


Languages

Language:C++ 57.7%Language:Rust 42.3%