¡@

Home 

c++ Programming Glossary: that.data

Critique my non-intrusive heap debugger

http://stackoverflow.com/questions/2835416/critique-my-non-intrusive-heap-debugger

tombstones 0 for size_t i 0 i that.capacity i if that.data i .in_use insert_unsafe that.data i hashtable operator.. i that.capacity i if that.data i .in_use insert_unsafe that.data i hashtable operator hashtable copy swap copy return this.. copy return this void swap hashtable that my_swap data that.data my_swap used that.used my_swap capacity that.capacity my_swap..

What is move semantics?

http://stackoverflow.com/questions/3106110/what-is-move-semantics

delete data string const string that size_t size strlen that.data 1 data new char size memcpy data that.data size The copy constructor.. size strlen that.data 1 data new char size memcpy data that.data size The copy constructor defines what it means to copy string.. that string is an rvalue reference to a string data that.data that.data 0 What have we done here Instead of deeply copying..