I made a tuple with a string, array, and then an object. For some reason, it says that there's a syntax error involving one of my array brackets in the two lines with the tuple, this one ']'. Can anyone tell me why it would think there's an error?
Prototype:
Void AddArray(std::string name, int x[20000], VisibleGameObject* gameObject);
Declaration:
void GameObjectManager::AddArray(std::string name, int x[20000], VisibleGameObject* gameObject)
{
_gameObjects.insert(std::tuple<std::string, int [], VisibleGameObject*>(name, x[], gameObject));
}