What should my teacher talk about in my Advanced C ++ class? [consultation required]

My teacher for Advanced C ++ opened a class for students to offer any topics that we want. What are some good advanced topics in C ++? We have already considered:

  • metaprogramming template
  • STL (obviously)
  • introduction to boost libraries

Please also indicate the reasons for the proposals.

+5
source share
12 answers

1) Safety + RAII exception. Because this is the part where I find that C ++ is very different from other languages ​​that I know. It is easier to handle exceptions in C ++ if you understand the rules and why you set them the way they are, especially how to take advantage of RAII when handling exceptions.

2) ++ 0x. ++;) , .

+14
  • Concurrency. , , .
+12
  • ++ ++
  • related: export
  • /
  • ++

, ++ C, , , :

  • "volatile"
  • ++ (, java fortran ++ )
+4

, , boost, ++ 0x. , , , , . , . , .

, , - :

std:: sort(begin, end, lambda::_1 + lambda::_2 > 0);

. , , . , , . http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Expression-template

+1

COW ( ) String?

0

Concurrency ?

0
0

? , , , . C++.

0

, , .. ( , STL ..) , , .

0

, , " " :

  • Polymorphism
  • Additional threads, creating custom threads
  • Socket programming

and possibly GUI programming, although most likely this is a separate course in general.

0
source

The C ++ concepts that will ultimately be adopted will allow typecheck templates to receive reasonable error messages. You can study recent articles by Jeremy Sick, Gabriel Dos Passos and Bjarn Straustrup.

0
source

Reflection and RTTI.

0
source

All Articles