RTTI (Run-Time Type Identification) prev
next

class type_info {
	private:
		type_info(const type_info &);
		type_info &operator=(const type_info &);
	public:
		const char *name();
	...
};

type_info &t = typeid(p);


Ch. Tronche - Année 96-97 - Page 15