Re: const volatile
kono@ie.u-ryukyu.ac.jp (Shinji KONO) writes:
> const と volatile って両立しないんだと思っていたんですが...
規格には
Each unqualified type has several qualified versions of its
type, corresponding to the combinations of one, two, or all
three of the const, volatile, and restrict qualifiers.
とあるので、両立するんでしょう。
const volatileの意味については良く知りませんが。
(プログラムでは書き換えないが、勝手に値が変わるデバイスのポートとか?)
前田敦司
Fnews-brouse 1.9(20180406) -- by Mizuno, MWE <mwe@ccsf.jp>
GnuPG Key ID = ECC8A735
GnuPG Key fingerprint = 9BE6 B9E9 55A5 A499 CD51 946E 9BDC 7870 ECC8 A735