In this piece of code:
I got the following compilation error on GCC:Code:class VideoDeviceEnumerator
{
public:
static vector<VideoDevice> getDevices();
};
Why is that? As i remember this compiled without problems in Microsoft Visual C++. By the way, my GCC version is 4.1.2.Code:VideoDeviceEnumerator.h:12: error: ISO C++ forbids declaration of ‘vector’ with no type
VideoDeviceEnumerator.h:12: error: expected ‘;’ before ‘<’ token