The first print shows the member value to be false, and the other two prints show it as true. Why does the first output differ from the last two?
#include
#include
using namespace std;
class MyClass
{
public:
bool value;
bool stuff;
};
class Container
{
public:
vector my_classes;
Container()
{
MyClass c;
cout