Ray's playground

 

2009年9月23日

Recipe 1.4. Reversing a String by Words or Characters

摘要: [代码]Because the regular expression /(\s+)/ includes a set of parentheses, the separator strings themselves are included in the returned list. 阅读全文

posted @ 2009-09-23 22:19 Ray Z 阅读(150) 评论(0) 推荐(0) 编辑

C++ templates chapter 5(Tricky Basics)

摘要: [代码][代码]To make sure that a member of a class template, for which the type is parameterized, gets initialized, you have to define a default constructor that uses an initializer list to initialize the ... 阅读全文

posted @ 2009-09-23 17:02 Ray Z 阅读(242) 评论(0) 推荐(0) 编辑

导航