Tags can't support 'namespace tr = std::tr1' or '::'
Posted: Sun May 03, 2009 2:20 pm
Code: Select all
#include <windows.h>
#include <iostream>
#include <vector>
#include <map>
#include <tr1/memory>
namespace tr = std::tr1;
int main(int argc, char **argv)
{
std::vector<int> v;
std::string s;
s.push_back(1);
std::tr1::shared_ptr< // it's work fine!
tr:: // it's dont work!
::Mess // it's not work.
MessageBox(NULL, "test", "ok", MB_YESNO); // work fine
return 0;
}