On Writing Functions That Accept Any Specialization of a C++ Template Type -- Raymond Chen
	 Suppose you want to write a template function that accepts any specialization of
Suppose you want to write a template function that accepts any specialization of std::vector? What may work today may not work tomorrow.
On Writing Functions That Accept Any Specialization of a C++ Template Type
by Raymond Chen
From the article:
Suppose you want to write a template function that accepts any specialization of
std::vector. Your first try would probably be something like this:template<typename Value> void accept_any_vector(std::vector<Value> v);However, this does not actually accept any vector specialization. There is a second template argument for the allocator, which has a default value that nearly everyone uses. But if somebody has a vector with a custom allocator, then your function won’t match.

 Registration is now open for CppCon 2023! The conference starts on October 1 and will be held
Registration is now open for CppCon 2023! The conference starts on October 1 and will be held  I continue my journey with concurrency patterns in today's post. The Thread-Safe Interface fits very well when the critical sections are just objects.
I continue my journey with concurrency patterns in today's post. The Thread-Safe Interface fits very well when the critical sections are just objects. Fold expressions exist in C++ since C++17 and significantly affect how we treat variadic templates. Back in the day, I wrote about
Fold expressions exist in C++ since C++17 and significantly affect how we treat variadic templates. Back in the day, I wrote about  Registration is now open for CppCon 2023! The conference starts on October 1 and will be held
Registration is now open for CppCon 2023! The conference starts on October 1 and will be held  Locking is a straightforward idea to protect a critical section. A critical section is a section of code that, at most, one thread can use at any time.
Locking is a straightforward idea to protect a critical section. A critical section is a section of code that, at most, one thread can use at any time. Registration is now open for CppCon 2023! The conference starts on October 1 and will be held
Registration is now open for CppCon 2023! The conference starts on October 1 and will be held