Comments (2)
したがってPODとはC++考古学の範疇であり、新たに説明するのは望ましくない。
#65 構造体 の議論と類似しますが、C++11以前から POD(Plain Old Data) と呼ばれる概念があるのは真実ですし、言及自体はあっても良いのではと思います。[class]/10
PODに関する話題は、C++と他プログラミング言語との相互運用性において意味を持つものです。その意味では、データメンバのオフセット位置やパディング量といった、(単なるC++仕様を超えて)メモリ配置についても考慮する必要があると思います。
このサイトではC++言語仕様の解説を目指すのか、実用性を目指すのかで方向性が変わってくるのではないでしょうか。
from cpp-book.
別issueにすべきかもしれませんが、12.2 では文脈的に 集成体(aggregate) と 構造体(structure type) が混同されているように思えます。
from cpp-book.
Related Issues (20)
- 結局関数オブジェクトとはなんなのか HOT 6
- std::functionのメリット/デメリットとは HOT 4
- char は signed char でも unsigned char でもない HOT 4
- ポインタはイテレータでもある HOT 1
- inline指定された変数(C++17)どう説明するか HOT 2
- new/deleteの再考 HOT 1
- 構造体は存在しない HOT 2
- エラー処理: errnoやstd::error_code(C++11)やstd::optional(C++17)をどう考えるか
- 3-5. vectorへのemplace_back/push_back説明への違和感 HOT 9
- switch の条件 HOT 1
- 範囲for文の挙動 HOT 2
- pointer interconvertible HOT 1
- アクセス指定子の説明の違和感
- [proposal][dev]netlifyの導入
- override キーワードの効果 HOT 1
- 用語:メンバ変数
- 配列の要素数 HOT 2
- 「7.12 共用体」と「9.3 特殊化」におけるtypo
- 3.1. 配列 中の誤記について HOT 3
- ダークモード対応 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpp-book.