| 
                 jwiesemann 
                Junior Member 
                   
                 
                
                14 Posts  | 
                
                  
                    
                      
                       Posted - May 12 2011 :  03:51:13 AM
                        
                        
                      
  | 
                     
                    
                       Hi,
  in below example VA will complete the name with superflous parentheses:
  ----
  #define _( text ) L##text
  class wxString {   public:     wxString( const wchar_t * ); };
  namespace jwx {   class ResText   {     public:       ResText(const wxString& keydomain, const wxString& key, const wxString& defaulttext);
        /// Get resource text       const wxString& Get() const;
    }; }
 
  jwx::ResText ArgText(_("CommandLine"), _("SwitchText"), _("Write default texts to file"));
 
  void main() {   Ar } ---
  When placing the cursor after the "Ar" and typing "g" VA will suggest "ArgText". When hitting tab it will complete to "ArgText()". But there is no operator () for this static object. (I was rather about to type ".Get" but first have to delete the parentheses.)
  Joachim | 
                     
                   
                 |