摘要: 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)
摘要: ! 叹号 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)
摘要: 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)
摘要: 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)
摘要: 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)
摘要: See https://www.cnblogs.com/jycboy/p/6118073.html 阅读全文
posted @ 2021-01-22 21:55 ylron 阅读(29) 评论(0) 推荐(0)