B
BCC
Hi,
I have some very simple code:
class CTest
{
public:
CTest(void) {};
~CTest(void) {};
};
// In another part of the code
std::vector<CTest> test_vec;
CTest ct;
test_vec.push_back(ct);
Doesn't seem like anything unusual to me, but VC++ .NET gives me a 2666
error, saying:
std:trit<//etc, etc>:perator + : 2 overloads have similar conversions
Am I missing the obvious or is there something else going on?
Thanks,
B
I have some very simple code:
class CTest
{
public:
CTest(void) {};
~CTest(void) {};
};
// In another part of the code
std::vector<CTest> test_vec;
CTest ct;
test_vec.push_back(ct);
Doesn't seem like anything unusual to me, but VC++ .NET gives me a 2666
error, saying:
std:trit<//etc, etc>:perator + : 2 overloads have similar conversions
Am I missing the obvious or is there something else going on?
Thanks,
B