I saw the following small snippet of code on the cppdepend site.
import std;
int main()
{
std::cout<<"Hello World\n";
}
So import std;what is the purpose in C ++? How to use import std;instead using namespace std;in C ++?
I tried to compile the program in the g ++ compiler , but I got an error.
source
share