Solved

C++ - basic_string - Visual Studio - Intellisense issues

Posted on 2006-06-10
2
237 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

706 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

19 Experts available now in Live!

Get 1:1 Help Now