Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 File scope vector misidentified as a function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rjollos
New Member

USA
3 Posts

Posted - Aug 23 2011 :  5:31:33 PM  Show Profile  Reply with Quote
A file scope vector that with a length that is determined by another file scope variable is classified as a member function in VA Outline.

#include <vector>
using namespace std;

static const uint32 fileScopeVariable(1);
static const uint32 SIZE_VECTOR = 8;

static vector< double > FILE_SCOPE_VECTOR1( 8 );
static vector< double > FILE_SCOPE_VECTOR2( SIZE_VECTOR );

MyClass::MyClass( void )
{

}




accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 24 2011 :  6:14:41 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=60805
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000