Documentation Home >> Headers >> <atomic> Header >> std::atomic >> specializations >> std::atomic<T*> >> std::atomic<T*> Default Constructor

Construct an instance of std::atomic<T*> with a default-initialized value.

atomic<T*>();

Effects:

Constructs a new std::atomic<T*> object with a default-initialized value.

Note:

Instances of std::atomic with non-static storage duration initialized with the default constructor cannot be relied upon to have a predictable value.

Throws:

Nothing.

Header

#include <atomic>

See Also