Код: Выделить всё
#include
#include
using namespace std;
struct Foo {
template void show(const T &v) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79710964/how-to-specialize-a-template-method-for-char[/url]Код: Выделить всё
#include
#include
using namespace std;
struct Foo {
template void show(const T &v) {
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79710964/how-to-specialize-a-template-method-for-char[/url]