C Declarations: auto, decltype,using =,nullptr 2. Smart pointers 3. Class changes 4. Range-based for loop 5. The rvalue reference 6. Move semantics.

Slides:



Advertisements
Similar presentations
Continuation of chapter 6…. Nested while loop A while loop used within another while loop is called nested while loop. Q. An illustration to generate.
Advertisements

Yaser Zhian Dead Mage IGDI, Workshop 10, May 30 th -31 st, 2013.
Brown Bag #3 Return of the C++. Topics  Common C++ “Gotchas”  Polymorphism  Best Practices  Useful Titbits.
Brown Bag #2 Advanced C++. Topics  Templates  Standard Template Library (STL)  Pointers and Smart Pointers  Exceptions  Lambda Expressions  Tips.
Overview  Miscellaneous Utility Functions  Return Type Deduction  Generic Lambdas  Generalised Lambda Captures  C++14 Literals  constexpr Functions.
Or: The Ampersand Recovery && Reinvestment Act of 2010 Stephan T. Lavavej Visual C++ Libraries Developer 1Version April 28, 2009.
第六章 数组与字符串 §6.1 数组 §6.2 字符串. §6.1 数组 数组的创建 ( 一维数组和二维数组;基本数据类型和 复合数据类型) 1. 指定数组名称、数据类型 type var_name[]; 如: char s[]; Object o[]; int i[][];
FOUNDATION TO PARALLEL PROGRAMMING. CONTENT 并行程序设计简介 并行程序设计模型 并行程序设计范型 2.
Formal Semantics of Programming Languages 虞慧群 形式语义学 Syllabus.
Viterbi 算法 viterbi 实验要求:见 experiment3.doc – 将 TRUNC_LENGTH 取值为 4 , 8 , 16 , 32 , 64 ,看看程序运行结果会有什么变化并分析原 因。 – 将 NUMSIM 取值为 10 1 , 10.
Lecturer: Mu Lingling (穆玲玲)
什么是 MPI? MPI(Message Passing Interface ) MPI 是一个库,而不是一门语言; MPI 是一个库,而不是一门语言; MPI 是一种标准或规范的代表,而不特 指某一个对它的具体实现; MPI 是一种标准或规范的代表,而不特 指某一个对它的具体实现; MPI 是一种消息传递编程模型,并成为.
第十一章 曲线回归 第一节 曲线的类型与特点 第二节 曲线方程的配置 第三节 多项式回归.
中断实验 长春理工大学 生命科学技术学院 生物医学工程系. 中断实验 实验目的 实验设备 实验原理 实验内容 参考程序.
1 供应链波动性研究简述. 2 供应链外生波动性和内生波动性 供应链波动性的测量 在途库存的管理.
第 4 章 过程与变量的作用范围. 4.1 Visual Basic 的代码模块 Visual Basic 的应用程序是由过程组成的, 过程代码存放在模块中。 Visual Basic 提供了 三类模块,它们是窗体模块、标准模块和类 模块。 窗体模块 窗体模块是大多数 Visual Basic.
1 应用计量分析在公共财政领域的应用黄智聪 厦门大学财政系研究生课程 课程名称:应用计量分析在公共财政领域的 应用 授课老师:黄智聪 授课内容: 时间序列与横断面资料的共用 參考書目: Hill, C. R., W. E. Griffiths, and G. G. Judge, (2001), Undergraduate.
实验三: 用双线性变换法设计 IIR 数字滤波器 一、实验目的 1 熟悉用双线性变换法设计 IIR 数字滤波器的原理与方法。 2 掌握数字滤波器的计算机仿真方法。 3 通过观察对实际心电图信号的滤波作用, 获得数字滤波的感性知 识。
操作系统原理课程设计指南 姜海燕 设计考核幻灯制作  1.1 封皮:系统名称,研制人员  1.2 目的及意义  1.3 功能设计:功能框图、用例图  1.4 结构设计:系统结构  1.5 核心技术及技术路线:画图  1.6 进度安排  1.7 人员安排  1.8.
UML 对象设计与编程 主 讲 : 董兰芳 副教授 Dept. of Computer Science,USTC
实验八 — 高分子材料的老化性 能测定. 南京理工大学化工学院 一、 实验目的  1. 了解橡胶的老化机理  2. 掌握鼓风老化试验箱的使用方法  3. 测定老化前后的力学性能.
第十章 目标代码生成  目标代码 ( 单寄存器 )  临时变量的存储空间分配  寄存器的分配和释放.
§2.2 一元线性回归模型的参数估计 一、一元线性回归模型的基本假设 二、参数的普通最小二乘估计( OLS ) 三、参数估计的最大或然法 (ML) 四、最小二乘估计量的性质 五、参数估计量的概率分布及随机干 扰项方差的估计.
实验三: 用双线性变换法设计 IIR 数字滤波器 一、实验目的 1 熟悉用双线性变换法设计 IIR 数字滤波器的原理与方法。 2 掌握数字滤波器的计算机仿真方法。 3 通过观察对实际心电图信号的滤波作用, 获得数字滤波的感性知 识。
程序设计是计算机学科的核心和灵魂程序设计是计算机学科的核心和灵魂 程序设计基础 第十一章 面向对象软件构造.
Java 程序设计 Java Programming Fall, Contents for Today Java Program Structure  How to Compile a Java Program  How to Run a Java Program Environment.
1 数控车削加工 重庆交通大学工程实训中心 Chongqing Jiaotong University.
Unit 10 I'm going to be a basketball player. Section A.
STATA 詹鹏 2015年5月25日.
常州机电职业技术学院 数控编程与加工技术 精品课程 项目 3 加工中心程序编制 模块 2 方形型腔类零件 上饶职业技术学院 课程负责人:罗根云 2011 年 5 月
Structure & Interpretation of Computer Programs Xiao Ben Charrow.
A novel plant vacuolar Na+/H+ antiporter gene evolved by DNA shuffling confers improved salt tolerance in yeast Source: Journal of Biological Chemistry.
CSE 332: C++ execution control statements Overview of C++ Execution Control Expressions vs. statements Arithmetic operators and expressions * / % + - Relational.
WHAT CAN A CS-MAJOR STUDENT DO?
Chapter 3 Programming Languages Unit 1 The Development of Programming Languages.
新一代移动物联系统 MC MOBILE CONTROL 开启办公物联网时代 Product Promotion.
EndnoteX3 使用方法培训 吴鸣 中科院国家科学图书馆 化学学科馆员 文献管理软件培训. 兵马未动,粮草先行 Good tools for Reference management.
C++ 0x 달려 BOA 요 ~ 아. 꿈. 사 비밀 모임 발표 : 김연기. 발표자 는 뉴규 ? 김연기 아. 꿈. 사 오후반 스터디 그룹 장소 예약 담당 (Pattern Oriented Software Architecture 2) ~ Microsoft Visual.
C++98 Initial Standard ~7 years C++03 Revised standard Limited to bug fixing ~ 5 years TR1 Pure library extension ~3 years C++11 Significant new features.
打孔机生产效能的提高 队 员: 李伦 王旭 查姗 指导教师: 屠良平 学 校: 辽宁科技大学. 1 问题提出 2 问题分析 3 模型假设 4 模型的建立与求解 5 模型评价及改进 目录.
演示场景. 类图 配置 HibernateApplicationContext.xml hibernate.cfg.xml 创建数据库 – ooad/ooad 关于 Library/Project 模板.
第三部分 类图的实例 u 动态增减属性 u 地理信息元数据模型. 动态增减属性 u 数据库中的基本单位是表,表的 基本成分是属性(表的项或列) 。表的列数是固定的。但是,可 以通过程序来实现 “ 动态 ” 增减表项 。 u 在类图模型中如何表示属性的动 态增减?
太阳能综合利用技术 中国科学技术大学热科学和能源工程系. 一、多功能热泵系统 多功能家用热泵样机通过控制元件的切换 可以实现三种运行模式:①单独制热水模 式,②制冷兼制热水模式,③制暖模式。
Welcome to Class 1 engineer He studied maths very hard.
Unrestricted © Siemens AG 2015 All rights reserved.Smarter decisions, better products. Move semantics && rvalue references, part 2 Bert Rodiers, Software.
BankScope :全球银行与金融机构分析库 comprehensive, global database containing information on public and private banks BvD 系列数据库 王 韬
海军工程大学信息安全系 汇报人:周学广 教授 基于主题情感混合模型 的无监督文本情感分析. 海军工程大学信息安全系 主要内容 一 LDA 模型 二 UTSU 模型 三 实验对比与分析.
Chapter11 Concurrent. 集美大学 计算机工程学院 Java 程序设计 年 第二版 Concurrent ●Computer users take it for granted that their systems can do more than one thing.
Chapter 8 Error Handing with Exceptions. 集美大学 计算机工程学院 Java 程序设计 What really matters is what happens after the error occurs. How is the error.
三相交流变频调速实验箱 武船集团技工学校 武船集团技工学校 熊 跃 熊 跃. 三相交流变频调速实验箱评审结论 “ 变频器控制及执行机构应用研究 ” 依照计划书和立题报告的内容,按节点要求完成了该装置的设计 制造与调试。填补了本单位相关调速实验设备在具体设计、安装、调试和应用研究方面的技术空白。 该装置可完成变频器的常用控制实验和其它应用模拟实验研究。在设计、组装、调试和应用功能研.
5.1 Operating System Concepts Module 5: Threads 线程 Overview 综述 Benefits 益处 User and Kernel Threads 用户和内核线程 Multithreading Models 多线程模型 Solaris 2 Threads.
DatabaseIO 的使用说明 报告人:马秋梅 概要 可以使用的接口 数据库表的定义说明 模块使用和脚本示例 可调用的方法.
History C++11 : First ContactE. Conteslide 2 C First international standard of the C++ language. Published as ISO/IE C 14882:1998 C
Session 03 - Templates Outline 03.1Introduction 03.2Function Templates 03.3Overloading Template Functions 03.4Class Templates 03.5Class Templates and Non-type.
4 Starting Tips to Keep Your Car in Top Condition
CO4301 – Advanced Games Development Week 1 Introduction
《Visual C++程序设计》 软件与通信工程学院 李 刚 QQ: 上课时间:周二567节 上课地点:荟庐W101
Reprise with lessons learned
C++11 in Qt 安晓辉
编译原理(H) 讨论课.
Delegates/ Anders Børjesson
how to make a http router
Using C++ in your Windows Phone Applications Talk will be repeated tomorrow morning at 8:30 in 33/McKinley Peter Torr, Program Manager.
CMPE 135: Object-Oriented Analysis and Design November 27 Class Meeting Department of Computer Engineering San Jose State University Fall 2018 Instructor:
Lists - I The List ADT.
Lists - I The List ADT.
C++Builder Existing user? Migration and Performance David Millington C++ Product Manager, Embarcadero.
Modern C++ Pitfalls Mihai Todor
Gentle* Introduction to Modern C++
CS 144 Advanced C++ Programming April 30 Class Meeting
Presentation transcript:

李长河 changhe.lw@gmail.com

C++11 1. Declarations: auto, decltype,using =,nullptr 2. Smart pointers 3. Class changes 4. Range-based for loop 5. The rvalue reference 6. Move semantics 7. Lambda functions

C++11 1. auto

C++11 2. decltype 3. using=

C++11 smart pointers

C++11 class changes

C++11 rvalue reference

C++11 range-based for loop

C++11 move Semantic

C++11

C++11

C++11 [captures](parameters) -> returnType { Statements; } lambda exp. [captures](parameters) -> returnType { Statements; }

C++11

More C++ 11 Features 并行程序设计 thread_local, thread, mutex,condition_variable, future 可变参数模板 template<typename T, typename... Args> void foo(cosnt T& t, const Args& ... rest ); 新的STL模板库: tuple 类模板 随机数库 Visual Studio Community 2015: https://www.visualstudio.com/products/visual-studio-community-vs