C++ Atomic Library - operator t



Description

It has permission to access contained value.

Declaration

Following is the declaration for std::atomic::operator T.

operator T() const;

C++11

operator T() const volatile;

Parameters

none

Return Value

It returns the current value of the atomic variable.

Exceptions

No-noexcept − this member function never throws exceptions.

atomic.htm
Advertisements