• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Template trouble
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >FSRef_fopen alternative (From: "Edward K. Chew" <email@hidden>)
 >Template trouble (From: "Edward K. Chew" <email@hidden>)
 >Re: Template trouble (From: "Edward K. Chew" <email@hidden>)
 >Re: Template trouble (From: Adin Hunter Baber <email@hidden>)

  • Prev by Date: Re: Template trouble
  • Next by Date: Re: Mach-O app calling CFM plug-in?
  • Previous by thread: Re: Template trouble
  • Next by thread: Re: Template trouble
  • Index(es):
    • Date
    • Thread