Closed curimit closed 9 years ago
Consider the following two cases:
a = T<B>D a = T < B > D
There are two posible explanations:
Luckly, there do exist a way to distinguish these two kind of possibilities. We can use spaces to distinguish them:
a < b
vector<int>
vector
<
Here is a test case:
int main() a = f<int>(1,2) a = T<B>() > C < D
Consider the following two cases:
There are two posible explanations:
Luckly, there do exist a way to distinguish these two kind of possibilities. We can use spaces to distinguish them:
a < b
, we must add at least one space after a.vector<int>
, it is not allowed to add extra spaces betweenvector
and<
.Here is a test case: