Is it possible to cout what kind of type a template is? The following code obviously doesn't work, but something alone these lines?
Code:template <typename T> void showType() { cout << T << endl; }
Is it possible to cout what kind of type a template is? The following code obviously doesn't work, but something alone these lines?
Code:template <typename T> void showType() { cout << T << endl; }