diff options
author | Steve Huston <shuston@riverace.com> | 1999-04-30 18:47:14 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1999-04-30 18:47:14 +0000 |
commit | 74d4493fa5dc265af2d985bb4ebe3903564ea1cd (patch) | |
tree | 56608d153399af2ddf4fb6d66c55107eafd1a1f8 /docs/tutorials | |
parent | a9f9d1f6f39919b041681ccfc4b05282cb071c27 (diff) | |
download | ATCD-74d4493fa5dc265af2d985bb4ebe3903564ea1cd.tar.gz |
Added explicit template instantiations.
Diffstat (limited to 'docs/tutorials')
-rw-r--r-- | docs/tutorials/018/token.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/tutorials/018/token.cpp b/docs/tutorials/018/token.cpp index 771c19988e1..1323dcaa9b4 100644 --- a/docs/tutorials/018/token.cpp +++ b/docs/tutorials/018/token.cpp @@ -17,3 +17,16 @@ int main(int,char**) return(0); } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) +template class Test_T <ACE_Mutex>; +template class Test_T <ACE_Token>; +template class ACE_Atomic_Op <ACE_Mutex, int>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +#pragma instantiate Test_T <ACE_Mutex> +#pragma instantiate Test_T <ACE_Token> +#pragma instantiate ACE_Atomic_Op <ACE_Mutex, int> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + + + + |