updated for presentation
This commit is contained in:
@@ -4,26 +4,33 @@ C++11
|
||||
|
||||
.. rubric:: oh dear, it burns
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
- Approved 2011-08-12
|
||||
- for some time called c++0x
|
||||
- references: primarily the `wikipedia article`_ on c++11
|
||||
- references:
|
||||
- primarily the `wikipedia article`_ on c++11
|
||||
- also `Bjarne's FAQ`_
|
||||
|
||||
.. _`wikipedia article`: http://en.wikipedia.org/wiki/C%2B%2B11
|
||||
.. _`Bjarne's FAQ`: http://www2.research.att.com/~bs/C++0xFAQ.html
|
||||
|
||||
|
||||
constexpr
|
||||
=========
|
||||
|
||||
- see example with/without -std=c++0x
|
||||
- see wiki for limitations
|
||||
- constructors of user-defined types can be declared constexpr
|
||||
|
||||
initializer lists
|
||||
=================
|
||||
|
||||
- see example with/without -std=c++0x
|
||||
- see example with/without -std=c++0x; specifically in this order:
|
||||
- init.cc
|
||||
- ilists.cc: c++03
|
||||
- init_new.cc
|
||||
- initializer_list<>
|
||||
- constructed, copied, only by ref
|
||||
- allows constructors to take initializer lists
|
||||
|
||||
New Loop Syntax
|
||||
===============
|
||||
- example from int, iterator, new syntax
|
||||
- copy/ref
|
||||
|
||||
type inference
|
||||
==============
|
||||
@@ -41,6 +48,7 @@ new string literals
|
||||
tuple fun
|
||||
=========
|
||||
|
||||
- generalization of std::pair
|
||||
- #include <tuple>
|
||||
- make_tuple
|
||||
- tie
|
||||
@@ -63,7 +71,19 @@ lambdas
|
||||
regular expressions and threading
|
||||
=================================
|
||||
|
||||
- this is where the burning starts ...
|
||||
- this is where the burning starts to set in ...
|
||||
- compile with gcc to see how awesome that is
|
||||
- compile with clang
|
||||
- instructions on building this found `here`_
|
||||
|
||||
.. _`here`: http://solarianprogrammer.com/2011/10/16/llvm-clang-libc-linux/
|
||||
|
||||
constexpr
|
||||
=========
|
||||
|
||||
- see example with/without -std=c++0x
|
||||
- see wiki for limitations
|
||||
- constructors of user-defined types can be declared constexpr
|
||||
|
||||
rvalue
|
||||
=======
|
||||
|
||||
Reference in New Issue
Block a user