Skip to main content

One doc tagged with "storage-duration"

View all tags

Storage Duration

Storage duration defines when and where objects are created and destroyed. C++ has four storage durations: automatic, static, dynamic, and thread.