Page 1 of 1

Tags can't support 'namespace tr = std::tr1' or '::'

Posted: Sun May 03, 2009 2:20 pm
by Loaden

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;
}
I hope CL can support it. Thanks.

Re: Tags can't support 'namespace tr = std::tr1' or '::'

Posted: Mon May 04, 2009 11:59 am
by eranif
Indeed, both are not supported.

Hopes are a good thing :), but you should probably submit a feature request here:

http://sourceforge.net/tracker/?group_id=202033

Thanks,
Eran