S
StephanInSanDiego
Guest
I have this simple program:
#include <vector>
int main()
{
std::vector<int> values;
values.emplace_back( 1 );
return 0;
}
I am trying to type cast std::vector in the watch window but it isn't working:
+ values { size=0 } std::vector<int,std::allocator<int>>
std::vector<int, std::allocator<int>>*)&values identifier "std::vector<int, std::allocator<int>" is undefined
std::vector<int>*)0 identifier "std::vector<int>" is undefined
Not using the type cast works but I happen to need to type cast to something else that the original type & it isn't working.
Somehow, I thought that used to work but it is obviously not working now.
Continue reading...
#include <vector>
int main()
{
std::vector<int> values;
values.emplace_back( 1 );
return 0;
}
I am trying to type cast std::vector in the watch window but it isn't working:
+ values { size=0 } std::vector<int,std::allocator<int>>
std::vector<int, std::allocator<int>>*)&values identifier "std::vector<int, std::allocator<int>" is undefined
std::vector<int>*)0 identifier "std::vector<int>" is undefined
Not using the type cast works but I happen to need to type cast to something else that the original type & it isn't working.
Somehow, I thought that used to work but it is obviously not working now.
Continue reading...