Re: Template trouble
Re: Template trouble
- Subject: Re: Template trouble
- From: Steve Checkoway <email@hidden>
- Date: Mon, 28 Aug 2006 17:17:17 -0700
On Aug 28, 2006, at 3:29 PM, Adin Hunter Baber wrote:
typedef int* intptr; // because gcc chokes on directly declaring a
reference to a pointer
It does?
[PBG4:~/temp] steve$ cat choke.cc
void f( int *p ) { int* &ref = p; int *q; ref = q; }
[PBG4:~/temp] steve$ g++ -Wall -std=c++98 -c choke.cc
[PBG4:~/temp] steve$
It seems to work for me.
--
Steve Checkoway
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden