I am getting the same error in my own code. This is a small example. Where is the problem?
#include <set>
using namespace std;
class Table{};
struct MyStruct
{
set<Table> arr;
};
int main()
{
MyStruct a;
Table t;
a.arr.insert(t); // Here it gives C2676 error
}