GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • cpprefjp - C++日本語リファレンス
  • GitHub Project

This view

  • Original page
  • New address

GeezerVison is showing cpprefjp.github.io — stdatomic.h - cpprefjp C++日本語リファレンス

  1. リファレンス
  2. stdatomic.h

最終更新日時: 2026年08月19日 21時24分36秒 (JST)
Akira Takahashi が更新

履歴 編集

<stdatomic.h>

stdatomic.h(C++23)

<stdatomic.h>はC++の<atomic>ライブラリの機能をC言語と相互運用するための互換ライブラリである。

このヘッダは、<atomic>ライブラリのすべての機能が、別名定義もしくはusing宣言によって、グローバル名前空間に定義される。

intN_t、uintN_t、intptr_t、uintptr_tに対するアトミック型は、それらの整数型が定義される場合にのみ定義される。

バージョン

言語

  • C++23

処理系

  • Clang: ??
  • GCC: ??
  • Visual C++: ??

参照

  • P0943R6 Support C atomics in C++
  • LWG Issue 3671. atomic_fetch_xor missing from stdatomic.h
    • C++23で、<stdatomic.h>のシノプシスにatomic_fetch_xor/atomic_fetch_xor_explicitのusing宣言が追加された(C23・<atomic>との整合をとるための欠落補完)
  • LWG Issue 4480. <stdatomic.h> should provide ATOMIC_CHAR8_T_LOCK_FREE
    • C++26で、atomic_char8_tに対応するロックフリー判定マクロATOMIC_CHAR8_T_LOCK_FREEが<stdatomic.h>のシノプシスに追加された(C23の<stdatomic.h>との整合をとるための欠落補完)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.