cpp/atomic/kill dependency

Informs the compiler that the dependency tree started by an std atomic load operation does not extend past the return value of ; that is, the argument does not carry a dependency into the return value.

This may be used to avoid unnecessary std fences when the dependency chain leaves function scope (and the function does not have the attribute).

Return value
Returns, no longer a part of a dependency tree.