• 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
Code completion for STL class members
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Code completion for STL class members


  • Subject: Code completion for STL class members
  • From: Brian Tanner <email@hidden>
  • Date: Wed, 13 Sep 2006 09:12:25 -0600

Hi guys, been racking my brain trying to get code completion work in a way that its most helpful to me, but not having much luck.  Here is a shortish snippet of code:

#include <vector>
using namespace std;


class test{
int myInt;
vector<int> myVector;


void testCodeComplete();
};

void test::testCodeComplete(){
//this->
//This shows myInt, myVector, and testCodeComplete when I do code completion, but myVector is without a type

// myVector.
// .... or
// this->myVector.
//This comes up with nothing for code completion :(


vector<int> testVector;
//testVector.
//This comes up for everything with code completion


}
//End code


So, as you can see... code completion works on vectors, just not on vectors that are members of my class.  I assume this is probably because codesense can't tell the type of the member "myVector" from within testCodeComplete.

Does anyone have any idea if/how this can be fixed?
--
Brian Tanner
Graduate Student
University of Alberta
email@hidden



 _______________________________________________
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

  • Follow-Ups:
    • Re: Code completion for STL class members
      • From: John Deane <email@hidden>
  • Prev by Date: Re: Breakpoint syntax for Objective-C classes
  • Next by Date: Re: Breakpoint syntax for Objective-C classes
  • Previous by thread: Re: Breakpoint syntax for Objective-C classes
  • Next by thread: Re: Code completion for STL class members
  • Index(es):
    • Date
    • Thread