LoginSignup
0
0

More than 5 years have passed since last update.

C,C++言語規定雑感

Last updated at Posted at 2018-12-07

#演算子

厳密に理解することが大事ではない。
何がしたかったかが大事。

##演算子
#演算子よりは必然性が薄いかもしれない。

マクロ識別子
マクロ名、マクロパラメータ

定義されていないマクロパラメータは存在しない。

正しいものは動くとは限らない。
差、矛盾があるから動くんだ。
正しいことが大事なのではない。

raise deviation
逸脱する。

言語拡張を逸脱とすることは、MISRAの枠組みを使う利点となる。

pointer to function typeは
f();
という関数があって、
&f
が関数型へのポインタ。

unction type vs. function pointer type
https://stackoverflow.com/questions/23219227/function-type-vs-function-pointer-type

例外をポインタにしたくない。

 投げた方が処理する。
 受け取った方が処理する。
 管理タスクが処理する。

3つの方法が考えられる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0