会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ylron
博客园
首页
新随笔
联系
订阅
管理
2021年5月21日
Call asynchronous method from synchronous method in C#
摘要: public async Task<TResult> MyMethodAsync() { Task<TResult> longRunningTask = LongRunningOperationAsync(); // independent work which doesn't need the r
阅读全文
posted @ 2021-05-21 23:49 ylron
阅读(57)
评论(0)
推荐(0)
2021年5月9日
特殊符号
摘要: ! 叹号 exclamation mark/bang ? 问号 question mark , 逗号 comma . 点号 dot/period/point : 冒号 colon ; 分号 semicolon ” 双引号 quotation marks/double quote ‘ 单引号/撇号 a
阅读全文
posted @ 2021-05-09 18:07 ylron
阅读(663)
评论(0)
推荐(0)
2021年4月28日
Diamond inheritance and pure virtual functions
摘要: struct interface_base{ virtual void foo() = 0;}; struct interface : virtual public interface_base{ virtual void bar() = 0;}; struct implementation_bas
阅读全文
posted @ 2021-04-28 13:51 ylron
阅读(48)
评论(0)
推荐(0)
About reference in C++11
摘要: class Dog{public: Dog() { age_= 0; } int age_; std::string name_; using pointer = boost::shared_ptr<Dog>;}; void ChangeDogV0(const Dog& dog){ dog.age_
阅读全文
posted @ 2021-04-28 10:26 ylron
阅读(54)
评论(0)
推荐(0)
2021年1月22日
GMock introduction
摘要: https://www.cnblogs.com/fnlingnzb-learner/p/6929393.html https://www.cnblogs.com/welkinwalker/archive/2011/11/29/2267225.html
阅读全文
posted @ 2021-01-22 22:05 ylron
阅读(28)
评论(0)
推荐(0)
How to parametize test
摘要: See https://www.cnblogs.com/jycboy/p/6118073.html
阅读全文
posted @ 2021-01-22 21:55 ylron
阅读(29)
评论(0)
推荐(0)
公告