Question

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

Was it helpful?

Solution

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").

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top