Commit Graph

28 Commits (82015eb61656e83eb65bae85df0aa4d7a9fadd71)
 

Author SHA1 Message Date
neingeist 82015eb616 play around with make_shared<>()
neingeist f6d9636caa add a copy and a "normal" constructor
neingeist ddec3de9b6 add an example throwing bad_alloc
neingeist b987b2badd test a reference as a lvalue
neingeist 9b2aef1701 shared_ptr vs containers
neingeist 133098604d array, array, vector, yay
neingeist 86c0368a04 make some methods const
neingeist 9092970b7d c-cast from void* works
neingeist 8bc35cef8e no need for this->
neingeist 823aeb304f some more playing around with refs etc.
neingeist e270dda904 initialize members in object-lifetime.cpp
neingeist 292143e700 update IDEAS
neingeist d45fdd153d add some classes experiment
neingeist 0b0c4cfdcb add some casts experiments
neingeist b3818c58cb play around with use_count()
neingeist ff67422eff add shared_ptr/weak_ptr example
neingeist 6463aab35c add a simple example to unique_ptr.cpp
neingeist 94de91cd85 add object lifetime example
neingeist 51f5a4c8ed CMakeLists.txt: add cmake_minimum_required()
neingeist 7f67471e7b add accumulate example
neingeist 94bf9c06cf add some broken array/vector tests
neingeist 11ece493be add list-initializers.cpp
neingeist 8f9dd5cac6 .gitignore CMake stuff and executables
neingeist ae7f6839cc add typetest.cpp
neingeist 04851b7e5f add auto_ptr.cpp
neingeist 59f0145c98 add CMakeLists.txt
neingeist 9f05ea4f04 add a unique_ptr test
neingeist 6b9a8e557d add IDEAS