vs2008 sp1添加了TR1, 开始支持如下内容:
- Smart pointers
- Regular expression parsing
- New containers (tuple, array, unordered set, etc)
- Sophisticated random number generators
- Polymorphic function wrappers
- Type traits
下面给出regex使用方法。使用比较简单:
http://www.johndcook.com/cpp_regex.html
具体性能等待后续给出: