diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-06-19 14:51:36 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-06-19 14:51:36 +0000 |
commit | 061823f12de356c0e923beb28fa21892b8463dbd (patch) | |
tree | 27d566b86585b07ef0779a5f17a66d5fff4d2327 /TAO/tao/Var_Size_Argument_T.inl | |
parent | d8f3fb3e01c05aaafd8f8527a014781feab8ea45 (diff) | |
download | ATCD-061823f12de356c0e923beb28fa21892b8463dbd.tar.gz |
ChangeLogTag: Mon Jun 19 14:49:25 UTC 2006 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Var_Size_Argument_T.inl')
-rw-r--r-- | TAO/tao/Var_Size_Argument_T.inl | 50 |
1 files changed, 18 insertions, 32 deletions
diff --git a/TAO/tao/Var_Size_Argument_T.inl b/TAO/tao/Var_Size_Argument_T.inl index e20150b11c7..2ccdef9db16 100644 --- a/TAO/tao/Var_Size_Argument_T.inl +++ b/TAO/tao/Var_Size_Argument_T.inl @@ -4,16 +4,14 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL -template<typename S, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE TAO::In_Var_Size_Argument_T<S,Insert_Policy>::In_Var_Size_Argument_T (S const & x) : x_ (&x) { } -template<typename S, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE const S & TAO::In_Var_Size_Argument_T<S,Insert_Policy>::arg (void) const @@ -23,16 +21,14 @@ TAO::In_Var_Size_Argument_T<S,Insert_Policy>::arg (void) const // ========================================================================== -template<typename S, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE TAO::Inout_Var_Size_Argument_T<S,Insert_Policy>::Inout_Var_Size_Argument_T (S & x) : x_ (&x) { } -template<typename S, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE S & TAO::Inout_Var_Size_Argument_T<S,Insert_Policy>::arg (void) @@ -42,60 +38,50 @@ TAO::Inout_Var_Size_Argument_T<S,Insert_Policy>::arg (void) // ========================================================================== -template<typename S, - typename S_out, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE -TAO::Out_Var_Size_Argument_T<S,S_out,Insert_Policy>::Out_Var_Size_Argument_T (S_out x) +TAO::Out_Var_Size_Argument_T<S,Insert_Policy>::Out_Var_Size_Argument_T ( + typename S::_out_type x + ) : x_ (x.ptr ()) {} -template<typename S, - typename S_out, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE S *& -TAO::Out_Var_Size_Argument_T<S,S_out,Insert_Policy>::arg (void) +TAO::Out_Var_Size_Argument_T<S,Insert_Policy>::arg (void) { return this->x_; } // ========================================================================== -template<typename S, - typename S_var, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE -TAO::Ret_Var_Size_Argument_T<S,S_var,Insert_Policy>::Ret_Var_Size_Argument_T (void) +TAO::Ret_Var_Size_Argument_T<S,Insert_Policy>::Ret_Var_Size_Argument_T (void) { } -template<typename S, - typename S_var, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE S *& -TAO::Ret_Var_Size_Argument_T<S,S_var,Insert_Policy>::arg (void) +TAO::Ret_Var_Size_Argument_T<S,Insert_Policy>::arg (void) { return this->x_.out (); } -template<typename S, - typename S_var, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE S * -TAO::Ret_Var_Size_Argument_T<S,S_var,Insert_Policy>::excp (void) +TAO::Ret_Var_Size_Argument_T<S,Insert_Policy>::excp (void) { return this->x_.ptr (); } -template<typename S, - typename S_var, - typename Insert_Policy> +template<typename S, typename Insert_Policy> ACE_INLINE S * -TAO::Ret_Var_Size_Argument_T<S,S_var,Insert_Policy>::retn (void) +TAO::Ret_Var_Size_Argument_T<S,Insert_Policy>::retn (void) { return this->x_._retn (); } |