What is the difference between template value: 1 and value passed into the constructor value :2 in case of counting_Semaphore. I have gone through cppreference document but confused.so could anyone explain what the difference between two
eg.
std::counting_semaphore<1> prepareSignal(2);