aboutsummaryrefslogtreecommitdiff
path: root/paludis/contents.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-06-15 11:28:45 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-06-15 11:28:45 +0100
commite5cf28cc1179dbeb60964bb512ac12005735d3f3 (patch)
treee32987394056842d47961277179883b73b0e6dc2 /paludis/contents.hh
parentb1d99a312a499e6c3596ab61f91b1632e7049b2a (diff)
downloadpaludis-e5cf28cc1179dbeb60964bb512ac12005735d3f3.tar.gz
paludis-e5cf28cc1179dbeb60964bb512ac12005735d3f3.tar.xz
Make more use of 'extern template', where supported.
Squashed commit of the following: commit bccc569cc57d95f41fb8aa8b210b3d514956f9fe Author: Ciaran McCreesh <ciaran.mccreesh@googlemail.com> Date: Sun Jun 15 10:39:55 2008 +0100 moar commit 034f2bfb4500241b6099874a130793953e2a7761 Author: Ciaran McCreesh <ciaran.mccreesh@googlemail.com> Date: Sun Jun 15 01:34:17 2008 +0100 moar commit 61503b051a8f238aa9efb6e418d76ff83b8890cd Author: Ciaran McCreesh <ciaran.mccreesh@googlemail.com> Date: Sat Jun 14 20:57:29 2008 +0100 moar commit fbb1e2d113e5bb69a24218f04b06198b4ee7febf Author: Ciaran McCreesh <ciaran.mccreesh@googlemail.com> Date: Sat Jun 14 20:35:25 2008 +0100 start
Diffstat (limited to 'paludis/contents.hh')
-rw-r--r--paludis/contents.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/paludis/contents.hh b/paludis/contents.hh
index 45bf913..f357698 100644
--- a/paludis/contents.hh
+++ b/paludis/contents.hh
@@ -260,6 +260,29 @@ namespace paludis
///\}
};
+
+#ifdef PALUDIS_HAVE_EXTERN_TEMPLATE
+ extern template class InstantiationPolicy<ContentsEntry, instantiation_method::NonCopyableTag>;
+ extern template class InstantiationPolicy<Contents, instantiation_method::NonCopyableTag>;
+
+ extern template class ConstAcceptInterface<ContentsVisitorTypes>;
+
+ extern template class ConstAcceptInterfaceVisitsThis<ContentsVisitorTypes, ContentsFileEntry>;
+ extern template class ConstAcceptInterfaceVisitsThis<ContentsVisitorTypes, ContentsDirEntry>;
+ extern template class ConstAcceptInterfaceVisitsThis<ContentsVisitorTypes, ContentsMiscEntry>;
+ extern template class ConstAcceptInterfaceVisitsThis<ContentsVisitorTypes, ContentsFifoEntry>;
+ extern template class ConstAcceptInterfaceVisitsThis<ContentsVisitorTypes, ContentsDevEntry>;
+ extern template class ConstAcceptInterfaceVisitsThis<ContentsVisitorTypes, ContentsSymEntry>;
+
+ extern template class PrivateImplementationPattern<Contents>;
+
+ extern template class Visits<const ContentsFileEntry>;
+ extern template class Visits<const ContentsDirEntry>;
+ extern template class Visits<const ContentsSymEntry>;
+ extern template class Visits<const ContentsFifoEntry>;
+ extern template class Visits<const ContentsDevEntry>;
+ extern template class Visits<const ContentsMiscEntry>;
+#endif
}
#endif