Is there any reasonable and portable way to generate a compiler warning in C++ when a client of the library I am providing uses a specific specialization of a template class that we want to discourage?
In contrast to the questions that this one has been marked as a duplicate of, I only need a warning, not a compile time error.