Commit fae11032 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Removed 'using namespace std;' from documentation examples

parent 827a5eab
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
#include <TNL/String.h>

using namespace TNL;
using namespace std;

int main()
{
@@ -19,5 +18,5 @@ int main()
    file >> restoredString;
    file.close();

    cout << "restored string = " << restoredString <<endl;
    std::cout << "restored string = " << restoredString << std::endl;
}
+0 −4
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
#include <cuda.h>

using namespace TNL;
using namespace std;

int main()
{
@@ -52,6 +51,3 @@ int main()
   cudaFree( deviceArray );
   delete[] hostArray;
}


+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
#include <TNL/File.h>

using namespace TNL;
using namespace std;

int main()
{
+0 −4
Original line number Diff line number Diff line
#include <iostream>
#include <TNL/FileName.h>


using namespace TNL;
using namespace std;

int main()
{
@@ -33,5 +31,3 @@ int main()
      std::cout << fileName.getFileName() << std::endl;
   }
}

+0 −3
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
#include <TNL/Containers/StaticVector.h>

using namespace TNL;
using namespace std;

int main()
{
@@ -30,5 +29,3 @@ int main()
      std::cout << fileName.getFileName() << std::endl;
   }
}

Loading