type-info.h revision e3a23f983047ebced52d7803a8ffc09eccb5e0c1
#pragma once
#include <typeinfo>
/**
* A wrapper around typeinfo. Inspired by Andrei Alexandrescu's "Modern C++ Design".
* Used as a temporary replacement for glib's type-checking system as long as SPObject
* must not be polymorphic / new objects are instantiated by g_object_new.
*/
const char* name() const;
};