---
name: "std::__atomic0::atomic_flag"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__atomic0::atomic_flag"
---

# std::\_\_atomic0::atomic\_flag(3cxx)

## NAME

\_\_atomic0::atomic\_flag -

## SYNOPSIS

Inherits \_\_atomic\_flag\_base.

### Public Member Functions

**atomic\_flag** (const **atomic\_flag** &)\
 **atomic\_flag** (bool \_\_i)\
 void **clear** (memory\_order \_\_m=memory\_order\_seq\_cst) volatile\
 **atomic\_flag** & **operator=** (const **atomic\_flag** &)\
 bool **test\_and\_set** (memory\_order \_\_m=memory\_order\_seq\_cst) volatile\

## Detailed Description

**atomic\_flag**

Definition at line 85 of file atomic\_0.h.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
