Solved

C++ - basic_string - Visual Studio - Intellisense issues

Posted on 2006-06-10
2
238 Views
Last Modified: 2008-03-10

Here is my 'custom' implementation of basic_string:

typedef std::basic_string<char, std::char_traits<char>, boost::pool_allocator<char> > RString;

Whenver I perform something like...

RString Str = AnyString;

The part of intellisense where you hover your mouse over a variable to see its type quits working.

Note:
- I #include <string>
- The intellisense that brings up a list of members quits working if I use the + operator of string

Any idea how to solve these problems?

Thanks
0
Comment
Question by:oxygen_728
2 Comments
 
LVL 15

Accepted Solution

by:
lakshman_ce earned 500 total points
ID: 16885411
I couldn't reproduce the issue that you addressed.
>>typedef std::basic_string<char, std::char_traits<char>, boost::pool_allocator<char> > RString;
>>Whenver I perform something like...
>>RString Str = AnyString;
You can refer to this question and find if it helps.
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/VisualC_PLUS_PLUS_DOT_NET/Q_21134700.html
0
 

Author Comment

by:oxygen_728
ID: 16937354
Ya, it comes and goes... who really knows how MS intellisense works?

From what I've read they've pretty much trashed any hope of it working properly in VS2003, and that it is much improved in 2005.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now