[out] attribute doesn't seem to work on static methods
- From: LaserMan <laserman@xxxxxxxxx>
- Date: Fri, 04 Aug 2006 20:27:30 GMT
I'm trying to figure out how to specify the equivalent of the C# out attribute, and apparently [out] is supposed to do the trick, but it only seems to work with interfaces.
Any ideas on how to make this work?
static void Multiply( [out] Math::Vector3% result, Math::Matrix3% lhs, Math::Vector3% rhs );
^^^ fails
error C3115: 'out': this attribute is not allowed on 'abstract declarator'
Thanks!!
.
- Follow-Ups:
- Re: [out] attribute doesn't seem to work on static methods
- From: LaserMan
- Re: [out] attribute doesn't seem to work on static methods
- Prev by Date: Re: visual c++ 6.0 source code analysis
- Next by Date: Re: [out] attribute doesn't seem to work on static methods
- Previous by thread: Re: Resource Editor Bug
- Next by thread: Re: [out] attribute doesn't seem to work on static methods
- Index(es):
Relevant Pages
|