Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: What the hell is *& as a parameter?  (Read 888 times)

0 Members and 1 Guest are viewing this topic.
What the hell is *& as a parameter?
« on: April 27, 2009, 07:37:06 pm »
  • Doesn't afraid of anything
  • *
  • Reputation: +42/-0
  • Offline Offline
  • Gender: Male
  • 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
Re: What the hell is *& as a parameter?
« Reply #1 on: April 27, 2009, 07:48:22 pm »
  • *
  • Reputation: +9/-0
  • Offline Offline
  • Gender: Male
  • Posts: 3725
Do you know where we can find the piece of code? And what language is it?
Logged
Re: What the hell is *& as a parameter?
« Reply #2 on: April 27, 2009, 07:48:41 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 6629
Pointer to a reference in C++. Not that unusual, seen it used many times.
Logged
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 Offline
  • Gender: Male
  • Posts: 7002
That's what I thought it was.  Thanks, Infini.
Logged



i love big weenies and i cannot lie
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.295 seconds with 43 queries.