C++ Library Extensions 2022.12.09
To help learn modern C++ programming
nCr< N, R > Struct Template Reference

Static Public Attributes

static constexpr size_t value = nCr< N-1, R-1 >::value + nCr< N-1, R>::value
 

Detailed Description

template<size_t N, size_t R>
struct nCr< N, R >

Definition at line 12 of file 055-functional_programming.cpp.

Member Data Documentation

◆ value

template<size_t N, size_t R>
constexpr size_t nCr< N, R >::value = nCr< N-1, R-1 >::value + nCr< N-1, R>::value
staticconstexpr

Definition at line 14 of file 055-functional_programming.cpp.


The documentation for this struct was generated from the following file: