![]() |
C++ Library Extensions 2022.12.09
To help learn modern C++ programming
|
#include <iostream>Go to the source code of this file.
Classes | |
| struct | nCr< N, R > |
| struct | nCr< N, N > |
| struct | nCr< N, 0 > |
| struct | nCr< N, 1 > |
| struct | static_loop< Start_R, End_R > |
Functions | |
| template<size_t N> | |
| void | test_combinations () |
| int | main () |
Variables | |
| template<size_t N, size_t R> | |
| constexpr size_t | combinations = nCr<N, R>::value |
| int main | ( | ) |
Definition at line 63 of file 055-functional_programming.cpp.
| void test_combinations | ( | ) |
Definition at line 58 of file 055-functional_programming.cpp.
|
constexpr |
Definition at line 36 of file 055-functional_programming.cpp.