using VS2005 and VA 1559 I changed the code a little, ending up with this code in a header file:
struct MY_STRUCT {
int m_a;
char *m_b;
public:
MY_STRUCT( int a ) : m_a( a ) { };
MY_STRUCT( char *b ) : m_b( b ) { };
};
and this code in the matching cpp file:
static void testStructConstructors()
{
MY_STRUCT foo(1);
}
with this code, when I typed the '(' in the cpp file, or place my caret between the brackets and press CTRL-SHIFT-SPACE to see the parameter info tooltip both overloads are listed for me.
Which IDE are you using?
If you upgrade to VA 1559 does this help?
http://www.wholetomato.com/downloads/default.asp