随笔分类 -  C++

摘要:- check if a state is ok> while(cin >> word)> // ok: read successful- condition states are constants defined in `ios_base` as public members + `... 阅读全文
posted @ 2015-03-30 22:25 n0p 阅读(151) 评论(0) 推荐(0)
摘要:- software is a system built up of many parts + rebuild that decomposition + see the patterns in codes is a skill that one develops with practic... 阅读全文
posted @ 2015-03-30 17:01 n0p 阅读(166) 评论(0) 推荐(0)
摘要:#An example```java#include #include #include using namespace std;using namespace boost::python;#define show(x) cout derived_as_base(){ return shar... 阅读全文
posted @ 2014-12-19 01:38 n0p 阅读(391) 评论(0) 推荐(0)
摘要:`Metafunction` is a more general idiom than `type generator`. Metafunctions that produce type(s) as a result is used as `type generators`.#Appearance:... 阅读全文
posted @ 2014-12-19 00:28 n0p 阅读(308) 评论(0) 推荐(0)
摘要:### A crude explanation# ConceptA set of requirements on a type, e.g. a *RandomAccessible* **concept** requires the type implements:`operator[] (int)`... 阅读全文
posted @ 2014-12-18 23:16 n0p 阅读(411) 评论(0) 推荐(0)