ultimatepp/uppdev/namespace/namespace.cpp
cxl 4a1c627474 Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

36 lines
462 B
C++

#include <Core/Core.h>
#include <string>
namespace upp {
template <class T>
struct ImTest {
// friend void Foo(T& x) {}
};
struct string { int x; };
};
template <class T>
struct ImTest2 {
public:
friend void Foo(T& x) {}
};
using namespace upp;
using namespace std;
CONSOLE_APP_MAIN
{
// upp::ImTest<int> alfa;
upp::string x;
std::string y;
// ImTest2<double> beta;
// int x;
/// Foo(x);
// double y;
// Foo(y);
}