summaryrefslogtreecommitdiff
path: root/ace/Service_Templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Service_Templates.cpp')
-rw-r--r--ace/Service_Templates.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/ace/Service_Templates.cpp b/ace/Service_Templates.cpp
index d5f3f1b328b..c064bbdce45 100644
--- a/ace/Service_Templates.cpp
+++ b/ace/Service_Templates.cpp
@@ -4,6 +4,9 @@
#include "ace/SString.h"
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
template class ACE_Node<ACE_Static_Svc_Descriptor *>;
template class ACE_Unbounded_Set<ACE_Static_Svc_Descriptor *>;
template class ACE_Unbounded_Set_Iterator<ACE_Static_Svc_Descriptor *>;
@@ -42,7 +45,13 @@ template class ACE_Thru_Task<ACE_SYNCH>;
template class ACE_Task<ACE_NULL_SYNCH>;
template class ACE_Thru_Task<ACE_NULL_SYNCH>;
#endif /* ACE_HAS_THREADS */
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
#pragma instantiate ACE_Node<ACE_Static_Svc_Descriptor *>
#pragma instantiate ACE_Unbounded_Set<ACE_Static_Svc_Descriptor *>
#pragma instantiate ACE_Unbounded_Set_Iterator<ACE_Static_Svc_Descriptor *>
@@ -80,4 +89,9 @@ template class ACE_Thru_Task<ACE_SYNCH>;
#pragma instantiate ACE_Task<ACE_NULL_SYNCH>
#pragma instantiate ACE_Thru_Task<ACE_NULL_SYNCH>
#endif /* ACE_HAS_THREADS */
+
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
+
+ACE_END_VERSIONED_NAMESPACE_DECL