문제

C++0x addresses the issue of consecutive closing angle brackets in template-id's, like in vector<vector<int>>. No space is required between > > any more. Does C++0x address the issue of <:: like in vector<::MyType> ? Is the space between < and :: still required?

Edit: I mean by the wording of the standard (draft). Many compilers cope with that for a long time now

도움이 되었습니까?

해결책

Yes, that space is still required currently. But US National Body comment 15 requested this to be removed, and it looks like the proposed resolution will be incorporated (since it's "ready").

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top