NIM 跨平台 C++ SDK
|
#include <ne_stl_atomic.h>
Public 成员函数 | |
atomic () | |
atomic (const T value) | |
T | operator++ () |
T | operator-- () |
bool | compare_exchange (const T expected_val, const T new_val) |
void | store (const T new_val) |
T | load () const |
T | exchange (const T new_val) |
T | operator= (const T new_value) |
operator const T () const | |
Private 成员函数 | |
atomic & | operator= (const atomic &)=delete |
Private 属性 | |
std::atomic< T > | value_ |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
privatedelete |
|
inline |
|
inline |
|
private |