#include <string>
struct Bob
	{
		template<class T>
		void operator () () const
		{
			T t;
		}

		template<class T>
		operator T () const
		{
			T t;
			return t;
		}
	};
	
    int main()
    {
	Bob b;
	std::string s = static_cast<std::string>(b);
    }