go to start Ss W5
|home |print view |recent changes |changed October 15, 2015 |
exact
|You are 54.81.59.211 <- set your identity!

Still relevant for this week. Many things about functions and parameters as well as error handling strategies can be read about here:

https:files/C++chapter3.pdf

much more on defining types and operator overloading is there:

https:files/C++chapter4.pdf


Possible calls depending on qualifiers of primitive type:

foo(int) foo(int &) foo(int const&) foo(int &&)
literal/temp ok no ok ok
int ok ok ok no
int const ok no ok no
int & ok ok ok no
int const & ok no ok no
std::move(i) ok no ok ok


|home |print view |recent changes |changed October 15, 2015 |
exact
|You are 54.81.59.211 <- set your identity!

Ss W5
go to start