diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-06-20 06:07:59 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-06-20 06:07:59 +0000 |
commit | e68fba5aea7ad65936afbb9802dbca5677242b95 (patch) | |
tree | 2d40c5969107d408f9c60168507704f3969986aa /TAO/tao/Basic_Argument_T.h | |
parent | 778869b2df011dc304874e48eb710a1cbd8e4f0c (diff) | |
download | ATCD-e68fba5aea7ad65936afbb9802dbca5677242b95.tar.gz |
ChangeLogTag: Mon Jun 19 12:11:09 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Basic_Argument_T.h')
-rw-r--r-- | TAO/tao/Basic_Argument_T.h | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/TAO/tao/Basic_Argument_T.h b/TAO/tao/Basic_Argument_T.h index 958dc38d7bc..d0d437413bf 100644 --- a/TAO/tao/Basic_Argument_T.h +++ b/TAO/tao/Basic_Argument_T.h @@ -30,17 +30,10 @@ namespace TAO * @class In_Basic_Argument_T * * @brief Template class for IN stub argument of basic IDL types. - * - * @todo - * We really would have liked to write the code as following but MSVC6 chokes - * on this, so we can only do this after x.5.1 has been dropped. - * - * template <typename S, template <typename T> class Insert_Policy> - * class In_Basic_Argument_T : public InArgument, private Insert_Policy <S> - * { .. }; */ - template<typename S, typename Insert_Policy> - class In_Basic_Argument_T : public InArgument, private Insert_Policy + template<typename S, + template <typename> class Insert_Policy> + class In_Basic_Argument_T : public InArgument { public: In_Basic_Argument_T (S const & x); @@ -61,8 +54,9 @@ namespace TAO * @brief Template class for INOUT stub argument of basic IDL types. * */ - template<typename S, typename Insert_Policy> - class Inout_Basic_Argument_T : public InoutArgument, private Insert_Policy + template<typename S, + template <typename> class Insert_Policy> + class Inout_Basic_Argument_T : public InoutArgument { public: Inout_Basic_Argument_T (S & x); @@ -84,8 +78,9 @@ namespace TAO * @brief Template class for OUT stub argument of basic IDL types. * */ - template<typename S, typename Insert_Policy> - class Out_Basic_Argument_T : public OutArgument, private Insert_Policy + template<typename S, + template <typename> class Insert_Policy> + class Out_Basic_Argument_T : public OutArgument { public: Out_Basic_Argument_T (S & x); @@ -106,8 +101,9 @@ namespace TAO * @brief Template class for return stub value of basic IDL types. * */ - template<typename S, typename Insert_Policy> - class Ret_Basic_Argument_T : public RetArgument, private Insert_Policy + template<typename S, + template <typename> class Insert_Policy> + class Ret_Basic_Argument_T : public RetArgument { public: Ret_Basic_Argument_T (void); @@ -132,7 +128,7 @@ namespace TAO * @brief Template class for stub argument traits of basic IDL types. * */ - template<typename T, typename Insert_Policy> + template<typename T, template <typename> class Insert_Policy> struct Basic_Arg_Traits_T { typedef T ret_type; |