yanyiwu / limonp

C++ headers(hpp) library with Python style.
MIT License
125 stars 43 forks source link

update the annotation of result of print, add Specialized template for vector<string> #11

Closed webary closed 8 years ago

webary commented 8 years ago

1. update the annotation of result of print:
 It's not exactly right before.
2. add Specialized template for vector<string> to appoach to style of python:
 when it is vector<string>, print like this: ["hello", "world"]; (special case);
 when it is vector<int>, print like this: [1, 10, 1000]; (common cases for other types espect string)