C++ Pointers

GPTKB entity

Statements (51)
Predicate Object
gptkbp:instanceOf Programming Concept
gptkbp:canBe Resource Management
smart pointers
Data Structures
Callbacks
Performance Optimization
Polymorphism
shared_ptr
weak_ptr
unique_ptr
Accessing Hardware
Dynamic Memory Allocation
Function Arguments
Implementing Data Structures
Interfacing with C Libraries
Linked Lists
Low-level Programming
Pointer Arithmetic
delete (operator)
free (function)
malloc (function)
new (operator)
gptkbp:canBeAccessedWith * (dereference operator)
-> (member access operator)
gptkbp:canBeArrayPointer true
gptkbp:canBeAssignedWith & (address-of operator)
gptkbp:canBeConst true
gptkbp:canBeDeclaredWith * (asterisk)
gptkbp:canBeDecremented true
gptkbp:canBeDereferenced true
gptkbp:canBeFunctionPointer true
gptkbp:canBeIncremented true
gptkbp:canBeNull true
gptkbp:canBeNullWith nan
nullptr
gptkbp:canBePointerToConst true
gptkbp:canBePointerToPointer true
gptkbp:canBeVoidPointer true
gptkbp:canPointTo object
Variable
Array
Function
gptkbp:canStore Memory Address
gptkbp:cause Memory Leak
Dangling Pointer
Segmentation Fault
https://www.w3.org/2000/01/rdf-schema#label C++ Pointers
gptkbp:mayBeAssignedTo true
gptkbp:usedIn gptkb:C++
gptkbp:bfsParent gptkb:C++_Standard_Library_iterators
gptkbp:bfsLayer 8