A+ A+   Function pointers and smart pointers
  • Mock frame
    • Index
  • username
  • Log out
  • Function pointers and smart pointers
  • Course

  • Index
  • Exercise results
  • Notifications
  • External

  • Discussions
  • Help
  • Site

  • Home
  • Course archive
  • username
  • Log out
  • Course

  • Index
  • Exercise results
  • Notifications
  • External

  • Discussions
  • Help
Valgrind, the memory management analyser » « Copying and assigning a data structure
  1. Programming 2: Structures »
  2. Function pointers and smart pointers

Function pointers and smart pointers¶

  • Valgrind, the memory management analyser
    • Valgrind’s error messages
      • Use of unitialized value of size 8
      • Conditional jump or move depends on uninitialised value(s)
      • Invalid read of size N
      • Invalid free() / delete / delete[]
      • N (…) bytes in M blocks are definitely lost in loss record X of Y
          • Executing valgrind in Qt Creator
          • Executing valgrind on the command line
  • Function pointers
    • Numeric integration
    • Purposes of function pointers
  • Smart pointers
    • shared_ptr pointers
    • Task list with shared_ptr pointers
  • Doubly-linked list
Valgrind, the memory management analyser » « Copying and assigning a data structure
  • Privacy Policy