|
-
May 27th, 1999, 08:59 AM
#1
std::vector<VARIANT> varVect
Hi all !
I kannot do a VARIANT (or better _variant_t) vector. This code:
#include <vector>
typedef std::vector<VARIANT> VariantVECTOR;
class MyClass
{
public:
MyClass(){;}
virtual ~MyClass(){;}
private:
VariantVECTOR myVarVect;
};
gives this compiler error:
C:\Programme\DevStudio\VC\INCLUDE\xutility(45) : error C2678: binary '<' : no operator defined which takes a left-hand operand of type 'const struct tagVARIANT' (or there is no acceptable conversion)
Please help !
Thanks in advance !
Emanuil Achim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|