samedi 29 mai 2021

Visual studio saying that std has no member move(std::move) . Why is it giving an error?

Below is my code: Main.cpp

 #include "Integer.h"
    int main() {
           //1st object made
           Integer i1(5);
           Integer i2(std::move(i1));
           return 0;
    }

I have Visual Studio 2019

Aucun commentaire:

Enregistrer un commentaire