コード例 #1
0
ファイル: ptree.cpp プロジェクト: GreatStone/terark-db
	bool operator()(fstring name, obj** x) const {
		if (path.end() == name.end() && NULL == *x) {
			*x = new typename obj_val<Obj>::type(val);
		}
		return true;
	}
コード例 #2
0
void DFA_Interface::save_to(fstring fname) const {
	assert('\0' == *fname.end());
	febird::FileStream file(fname.p, "wb");
	save_to(file);
}