yohhoyyohhoy
Open2020/11/22にコメント追加2

std::common_type 定義変遷

C++
yohhoyyohhoy2021/09/07に更新
  • C++11 https://timsong-cpp.github.io/cppwp/n3337/meta.trans.other#3
  • C++14 https://timsong-cpp.github.io/cppwp/n4140/meta.trans.other#3
  • C++17 https://timsong-cpp.github.io/cppwp/n4659/meta.trans.other#3 + https://timsong-cpp.github.io/cppwp/n4659/meta.trans.other#4
  • C++20 https://timsong-cpp.github.io/cppwp/n4861/meta.trans.other#4 + https://timsong-cpp.github.io/cppwp/n4861/meta.trans.other#5
yohhoyyohhoy2021/08/12に更新

LWG

  • 2408. SFINAE-friendly common_type/iterator_traits is missing in C++14
  • 2141. common_type trait produces reference types
  • 2465. SFINAE-friendly common_type is nearly impossible to specialize correctly and regresses key functionality
ポスト
yohhoy
yohhoy

🐢

エンジニアのための
情報共有コミュニティ

About

  • Zennについて
  • 運営会社
  • お知らせ・リリース
  • イベント

Guides

  • 使い方
  • 法人向けメニューNew
  • Publication / Pro
  • よくある質問

Links

  • X(Twitter)
  • GitHub
  • メディアキット

Legal

  • 利用規約
  • プライバシーポリシー
  • 特商法表記