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 — ccomplex - cpprefjp C++日本語リファレンス

  1. リファレンス
  2. ccomplex

最終更新日時: 2026年10月06日 10時18分37秒 (JST)
Akira Takahashi が更新

履歴 編集

<ccomplex>

ccomplex(C++11)(C++17で非推奨)(C++20で削除)

<ccomplex>ヘッダは、<complex>ヘッダをインクルードするだけのヘッダである。名前はC言語の複素数ライブラリ<complex.h>に対応しているが、C言語の複素数ライブラリの内容は提供しない。

非推奨・削除の詳細

  • このヘッダはC99互換のためにC++11で追加されたが、<complex>をインクルードするだけでC言語の複素数ライブラリの内容を提供しないため、C++17で非推奨となり、C++20で削除された
    • 代替機能として、<complex>ヘッダを使用すること

バージョン

言語

  • C++11

関連項目

  • <complex>
  • <ctgmath> : 同じ経緯で非推奨・削除されたヘッダ。C++11では、本ヘッダと<cmath>をインクルードすると規定されていた

参照

  • P0063R3 C++17 should refer to C11 instead of C99
    • C++17で、本ヘッダが非推奨となった。あわせて<ctgmath>の規定が、本ヘッダではなく<complex>をインクルードするよう変更された
  • P0619R4 Reviewing Deprecated Facilities of C++17 for C++20
    • C++20で、本ヘッダが削除された
You are visitor 01402503 — 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.