+// avoid an 'unused parameter' compiler warning.
+#define SG_UNUSED(x) (void)x
+
+// easy way to disable the copy constructor and assignment operator
+// on an object
+#define SG_DISABLE_COPY(Class) \
+ Class(const Class &); \
+ Class &operator=(const Class &);
+