[out] attribute doesn't seem to work on static methods



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!!
.



Relevant Pages

  • Re: Running IDE as a standard user in Vista
    ... accessing key as type REG_SZ fails with error 2 ... Both keys physically exist in the registry under HKCU key ... meaning that you don't specify ... RegQueryValueEx would ignore that parameter on input and pass the ...
    (microsoft.public.vb.general.discussion)
  • Re: simple module method call question
    ... Ben Lovell wrote: ... construction using a variable, in the final version ... This always fails. ... I've tried every trick I can think of, ...
    (comp.lang.ruby)
  • Re: Grahams ACL: solution to ex 10.3
    ... > But this fails: ... The OP did not specify that the macro take a symbol or an ... > I believe the OP is supposed to write a macro that expands ... (defmacro nth-expr (n &body expressions) ...
    (comp.lang.lisp)
  • Re: Cover pages
    ... Sorry to jump in but is there any way to fax just a cover page? ... FaxServer.send fails if you do not specify a filename with the ...
    (microsoft.public.win2000.fax)
  • Re: [9fans] plan9.ini bootfile= syntax for 9pxeload client?
    ... I suspect it fails because I haven't told 9pxeload how to load what ... guess the correct incantation of syntax to specify the kernel location. ...
    (comp.os.plan9)