I am trying to pass an any object to a function (to check its type), and I have something like this:
void Write(Object obj)
{
cout << typeid(obj).name() << endl;
}
But i got an error 'Write' was not declared in this scope. I assume that there is no an 'Object' type