Commit graph

55 commits

Author SHA1 Message Date
1a6c3c2035 IDEAS: static assert 2016-06-25 17:14:32 +02:00
4b953bf080 add malloc-new 2014-08-24 14:59:54 +02:00
7579fe1f6e re-indent 2014-08-24 14:50:42 +02:00
d08cb5c79c rtti: make Nail constructor explicit 2014-08-24 14:44:15 +02:00
5de6b902c9 rtti: re-indent 2014-08-24 14:43:35 +02:00
c3a436f695 future: use uint64_t instead of the C type long 2014-08-24 14:28:21 +02:00
09b04e4bd6 no need to copy the strings, just reference them 2014-08-23 11:19:16 +02:00
3ac00a66ff how to convert vector<string> to const char** 2014-08-23 11:13:53 +02:00
782cb579e7 Do not use namespace using-directives. 2014-08-19 08:28:36 +02:00
7db74eb991 do some whitespace janitor work 2014-08-18 23:45:07 +02:00
0e43b30736 poly: remove extra semicolon 2014-08-18 22:36:30 +02:00
83ae29efcc make bad_alloc.cpp less evil 2014-08-18 22:23:01 +02:00
674957127f add configuration for cpplint 2014-08-18 22:05:00 +02:00
93ecf568d1 add another polymorphism example 2014-08-18 22:03:57 +02:00
9c89f7382a add another idea 2014-08-18 22:02:59 +02:00
be0894d079 add a 'check' target to run cpplint 2014-08-18 22:02:12 +02:00
8e65d97d3d a better future 2014-08-18 21:59:02 +02:00
987fff370d more dividing fun 2014-08-18 21:55:45 +02:00
cae45c8613 play around with division 2014-08-18 19:50:41 +02:00
e14177b097 add some return type deduction test (c++14) 2014-05-11 13:49:19 +02:00
af963758f4 add more IDEAS 2014-05-11 13:47:38 +02:00
646b6e44b3 play with std::future 2014-05-10 18:55:39 +02:00
415a618522 add a small rtti experiment 2014-04-26 16:33:35 +02:00
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