Commit graph

32 commits

Author SHA1 Message Date
cef5d842b3 suppress g++'s warning that auto_ptr is deprecated 2014-04-19 11:20:46 +02:00
40ab3d2249 add more IDEAS 2014-04-19 11:15:51 +02:00
66d0728e00 print out address of object to copy in copy constructor 2014-04-19 11:14:21 +02:00
235d604757 print out function name when called 2014-04-19 11:12:28 +02:00
82015eb616 play around with make_shared<>() 2014-04-19 11:11:57 +02:00
f6d9636caa add a copy and a "normal" constructor 2014-04-18 19:26:02 +02:00
ddec3de9b6 add an example throwing bad_alloc 2014-04-18 12:26:11 +02:00
b987b2badd test a reference as a lvalue 2014-04-15 20:36:21 +02:00
9b2aef1701 shared_ptr vs containers 2014-04-15 20:35:17 +02:00
133098604d array, array, vector, yay 2014-04-15 19:04:01 +02:00
86c0368a04 make some methods const 2014-04-14 09:10:17 +02:00
9092970b7d c-cast from void* works 2014-04-13 17:38:26 +02:00
8bc35cef8e no need for this-> 2014-04-13 17:37:36 +02:00
823aeb304f some more playing around with refs etc. 2014-04-13 17:37:13 +02:00
e270dda904 initialize members in object-lifetime.cpp 2014-04-13 15:03:24 +02:00
292143e700 update IDEAS 2014-04-13 14:44:15 +02:00
d45fdd153d add some classes experiment 2014-04-13 14:39:15 +02:00
0b0c4cfdcb add some casts experiments 2014-04-13 14:13:47 +02:00
b3818c58cb play around with use_count() 2014-04-13 11:30:55 +02:00
ff67422eff add shared_ptr/weak_ptr example 2014-04-13 11:21:28 +02:00
6463aab35c add a simple example to unique_ptr.cpp 2014-04-13 10:51:19 +02:00
94de91cd85 add object lifetime example 2014-04-13 10:12:03 +02:00
51f5a4c8ed CMakeLists.txt: add cmake_minimum_required() 2014-04-13 10:03:49 +02:00
7f67471e7b add accumulate example 2014-04-13 10:03:09 +02:00
94bf9c06cf add some broken array/vector tests 2014-04-13 09:48:04 +02:00
11ece493be add list-initializers.cpp 2014-04-13 09:10:08 +02:00
8f9dd5cac6 .gitignore CMake stuff and executables 2014-04-13 09:02:52 +02:00
ae7f6839cc add typetest.cpp 2014-04-13 08:59:28 +02:00
04851b7e5f add auto_ptr.cpp 2014-04-13 08:38:06 +02:00
59f0145c98 add CMakeLists.txt 2014-04-13 08:37:49 +02:00
9f05ea4f04 add a unique_ptr test 2014-04-13 08:25:23 +02:00
6b9a8e557d add IDEAS 2014-02-27 14:17:43 +01:00