Displaying 1 result from an estimated 1 matches for "descof".
Did you mean:
descom
2007 Aug 31
3
[LLVMdev] PATCH: Registry template
...ate <typename T>
+ class RegistryTraits {
+ RegistryTraits(); // Do not implement.
+
+ public:
+ typedef SimpleRegistryEntry<T> entry;
+
+ /// Accessors for .
+ ///
+ static const char *nameof(const entry &Entry) { return
Entry.getName(); }
+ static const char *descof(const entry &Entry) { return
Entry.getDesc(); }
+ };
+
+
+ /// A global registry used in conjunction with static constructors
to make
+ /// pluggable components (like targets or garbage collectors)
"just work" when
+ /// linked with an executable.
+ template <typename T,...