1.并发

1.1 内存模型 Atomicity,Visibility,Ordering

1.2 线程与锁 thread,mutex,condition_variable,thread_local

1.3 期值 future,promise,packaged_task,async()

2.简化使用

2.1 auto,decltype

2.2 范围for

2.3 资源管理指针 std::unique_ptr,std::shared_ptr,std::week_ptr

2.4 统一初始化

2.5 nullptr

2.6 constexpr

2.7 explicit

2.8 final & override

2.9 右值引用

2.10 移动语义

2.11 完美转发

3.改进泛型

3.1 Lambda

3.2 变参模板

3.3 别名

3.4 tuple

posted @ 2023-10-29 19:41 xyphoenix 阅读(10) 评论(0) 推荐(0) 编辑
摘要: VS版本 VC版本 ToolSet 版本 MSC版本 Visual Studio 6 6 1200 Visual Studio 2003 7 1300 Visual Studio 2005 8 80 1400 Visual Studio 2008 9 90 1500 Visual Studio 20 阅读全文
posted @ 2023-10-28 19:38 xyphoenix 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 启动虚拟机 emulator @pixel2 -skip-adb-auth -allow-host-audio -port 5554 -no-snapshot -no-boot-anim -memory 3072 -partition-size 8192 启动Appium自动下载ChromeDriv 阅读全文
posted @ 2023-04-23 22:48 xyphoenix 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Class Diagram 类图 格式 类名 +Attribute 属性 +Operation 操作() {约束} 可见性 + Public 公有 - Private 私有 # Protected 保护 ~ Internal 包内公有 Object Diagram 对象图 格式 对象名:类名 成员名 阅读全文
posted @ 2023-03-05 13:06 xyphoenix 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 用例间关系 Inclusion 包含关系 - 虚线箭头<<include>>, 指向被包含用例 Extend 扩展关系 - 虚线箭头<<extend>>, 指向被扩展用例 泛化关系 - 实线空三角箭头,指向夫用例 分组关系 典型用例元素 用例名称 用例编号 用例说明 参与者 前置条件 事件流 后置条 阅读全文
posted @ 2023-03-05 10:46 xyphoenix 阅读(14) 评论(0) 推荐(0) 编辑
摘要: UML - Unified Modeling Language 简介 UML以OO图形的方式描述任何类型的系统,可以对任何具有静态结构和动态行为的系统进行建模。 描述问题,描述解决方案,起到沟通作用。 用文本,图形和符号的集合描述现实生活中各类事物、活动及其之间关系。 发展历程 20世纪70年代发展 阅读全文
posted @ 2023-03-05 10:36 xyphoenix 阅读(65) 评论(0) 推荐(0) 编辑
摘要: ARC 1. ARC - Automatic Reference Counting 办公室照明原理 2. 函数release立即释放,autorelease进入autoreleasepool里 3. IMP Caching提高OC函数运行速度 4. NSAutoreleaesPool 5. 所有权修 阅读全文
posted @ 2023-03-02 21:17 xyphoenix 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 原则 Single Responsibility Principle SRP 单一职责原则 一个类只干一件事,实现类要单一 便于理解,提高代码的可读性 Open Closed Principle OCP 开闭原则 对扩展开放,对修改关闭 降低维护带来的新风险 Liskov Substitution 阅读全文
posted @ 2023-02-05 15:09 xyphoenix 阅读(12) 评论(0) 推荐(0) 编辑
摘要: PowerShell默认按每一行遍历去匹配模式 比如“aaa`nbbb”用“a.*b”是匹配不到的 需要用“(?s)a.*b”来匹配 1. Search $ret = "test string" -Match "pattern" $ret 为true时匹配成功,捕获的值用$Matches获取。 2. 阅读全文
posted @ 2023-01-19 12:20 xyphoenix 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1. String to InputStream new ByteArrayInputStream(str.getBytes()); 2 ProGuard https://www.jianshu.com/p/4278862ef7e7 阅读全文
posted @ 2023-01-04 09:21 xyphoenix 阅读(21) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示