Re: out equivalent in MC++
From: Tomas Restrepo \(MVP\) (tomasr_at_mvps.org)
Date: 03/19/04
- Next message: Tomas Restrepo \(MVP\): "Re: out equivalent in MC++"
- Previous message: Edward Diener: "Re: Operators in MC++"
- In reply to: Daniel P.: "Re: out equivalent in MC++"
- Next in thread: Daniel P.: "Re: out equivalent in MC++"
- Reply: Daniel P.: "Re: out equivalent in MC++"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 18 Mar 2004 20:48:49 -0500
Hi Danil,
> Yeah, when I answered I was thinking at the standard C++.
>
> Anyway I do not see why anyone would use
> > System::Runtime::InteropServices::OutAttribute attribute.
>
> when it can use a reference or a pointer unless it has to write a piece of
> code that needs to work with C# and it this case probably it will use your
> solution.
Ahh, that ;) Well, explicitness would be one reason (and if you're writing
managed code, then you *should* be thinking about how things are going to
look from the outside, or at least that's my opinion).
-- Tomas Restrepo tomasr@mvps.org
- Next message: Tomas Restrepo \(MVP\): "Re: out equivalent in MC++"
- Previous message: Edward Diener: "Re: Operators in MC++"
- In reply to: Daniel P.: "Re: out equivalent in MC++"
- Next in thread: Daniel P.: "Re: out equivalent in MC++"
- Reply: Daniel P.: "Re: out equivalent in MC++"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|