![]()
「restrict」が動詞として使われる場合、何らかの行動や範囲を制約することを意味する。具体的な例を以下に示す。
・例文出典:Wiktionary
出典:『Wiktionary』 (2026/03/21 23:41 UTC 版)
Borrowed from Latin restrictus, perfect passive participle of restringō (“draw back tightly; restrain, restrict”), from re- (“back, again”) + stringō (“press, tighten, compress”). Doublet of ristretto as an adjective.
restrict (third-person singular simple present restricts, present participle restricting, simple past and past participle restricted)
出典:Wikipedia
出典:『Wikipedia』 (2011/05/22 13:11 UTC 版)
In the C programming language, as of the C99 standard, restrict is a keyword that can be used in pointer declarations. The restrict keyword is a declaration of intent given by the programmer to the compiler. It says that for the lifetime of the pointer, only it or a value directly derived from it (such as pointer + 1) will be used to access the object to which it points. This limits the effects of pointer aliasing, aiding caching optimizations. If the declaration of intent is not followed and the object is accessed by an independent pointer, this will result in undefined behavior.
![]()
動詞の活用形:
|