Hello
Guest
, please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length.
ZFGC
>
Resources
>
Coding
>
What the hell is *& as a parameter?
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: What the hell is *& as a parameter? (Read 888 times)
0 Members and 1 Guest are viewing this topic.
MG-Zero
What the hell is *& as a parameter?
«
on:
April 27, 2009, 07:37:06 pm »
Doesn't afraid of anything
Reputation: +42/-0
Offline
Gender:
Posts: 7002
A friend of mine saw some code that took a variable with *& as a parameter. can someone tell me what the hell this means? I figured a pointer to a reference, but I'm not really sure.
Logged
i love big weenies and i cannot lie
Zaeranos
Re: What the hell is *& as a parameter?
«
Reply #1 on:
April 27, 2009, 07:48:22 pm »
Reputation: +9/-0
Offline
Gender:
Posts: 3725
Do you know where we can find the piece of code? And what language is it?
Logged
Infinitus
Re: What the hell is *& as a parameter?
«
Reply #2 on:
April 27, 2009, 07:48:41 pm »
Reputation: +3/-0
Offline
Gender:
Posts: 6629
Pointer to a reference in C++. Not that unusual, seen it used many times.
Logged
MG-Zero
Re: What the hell is *& as a parameter?
«
Reply #3 on:
April 27, 2009, 08:22:36 pm »
Doesn't afraid of anything
Reputation: +42/-0
Offline
Gender:
Posts: 7002
That's what I thought it was. Thanks, Infini.
Logged
i love big weenies and i cannot lie
Print
Pages: [
1
]
Go Up
« previous
next »
ZFGC
>
Resources
>
Coding
>
What the hell is *& as a parameter?
Contact Us
|
Legal
|
Advertise Here
2013 © ZFGC, All Rights Reserved