Bug 710491 - Remove NS_SPECIALIZE_TEMPLATE from nsAutoRef's documentation. r=khuey DONTBUILD

This commit is contained in:
Matthew Gregan 2011-12-14 14:57:39 +13:00
parent c8a8b06b4c
commit 46a5d0d091

View File

@ -87,7 +87,7 @@ template <class T> class nsReturningRef;
* // Specializing nsAutoRefTraits<nsRawFD> describes how to manage file
* // descriptors, so that nsAutoRef<nsRawFD> provides automatic closing of
* // its file descriptor on destruction.
* NS_SPECIALIZE_TEMPLATE
* template <>
* class nsAutoRefTraits<nsRawFD> {
* public:
* // The file descriptor is held in an int.
@ -431,7 +431,7 @@ public:
* // integral typedefs, a new unique possibly-incomplete class may need to be
* // declared.
*
* NS_SPECIALIZE_TEMPLATE
* template <>
* class nsAutoRefTraits<T>
* {
* // Specializations must provide a typedef for RawRef, describing the
@ -477,14 +477,14 @@ template <class T> class nsAutoRefTraits;
*
* Examples of use:
*
* NS_SPECIALIZE_TEMPLATE
* template <>
* class nsAutoRefTraits<PRFileDesc> : public nsPointerRefTraits<PRFileDesc>
* {
* public:
* static void Release(PRFileDesc *ptr) { PR_Close(ptr); }
* };
*
* NS_SPECIALIZE_TEMPLATE
* template <>
* class nsAutoRefTraits<FcPattern> : public nsPointerRefTraits<FcPattern>
* {
* public: