Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
using is a keyword to specify the a namespace(s) used or the namespace(s) of the data types used.
Use using-directives for transition, for foundational libraries (such as std), or within a local scope [1] Don't put a using-directive in a header file [2,3] Don't write a using-directive before an #include [3] Prefer using over typedef for defining aliases [4]
#include <iostream> |
#include <iostream> |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.