News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Why watch window doesnt work?

Started by tim777, January 07, 2007, 01:47:24 PM

Previous topic - Next topic

tim777

Why I cant see in watch window the value of *my_strings.begin() from the small code:

#include <string>
#include <iostream>
#include <set>

using namespace std;
set<string> my_strings;

int main()
{
  my_strings.insert("test");
  cout << *my_strings.begin();
  return 0;
};