Exemple #1
0
int main() {
  std::cout << "==== start ====" << std::endl;
  Facade f = Facade();
  f.DoDomainLogic();
  std::cout << "==== end ====" << std::endl;
}
Exemple #2
0
fsys::file::Facade fsys::file::open(const std::wstring& path, const fsys::file::OpenOptions& options)
{
	auto tmp = std::make_unique<ImplFacade>(path, options);
	return tmp->is_valid() ? Facade(std::move(tmp)) : Facade();
}