Restrict
C keyword used in pointer declarations to assert that pointer aliasing does not occur
In the C programming language, restrict is a type qualifier that can be applied to a pointer to hint to the compiler that for the lifetime of that pointer, no other pointer will be used to access the same pointed-to object. This limits the effects of pointer aliasing, which can allow the compiler to make optimizations (such as vectorization) that would not otherwise be possible.
Nº Q7316284 ★
Común · Saberes
Restrict
C keyword used in pointer declarations to assert that pointer aliasing does not occur
In the C programming language, restrict is a type qualifier that can be applied to a pointer to hint to the compiler that for the lifetime of that pointer, no other pointer will be used to access the same pointed-to object. This limits the effects of pointer aliasing, which can allow the compiler to make optimizations (such as vectorization) that would not otherwise be possible.
En Wikipedia
Texto en inglés Aún no hay artículo en tu idioma: extracto en inglés.
In the C programming language, restrict is a type qualifier that can be applied to a pointer to hint to the compiler that for the lifetime of that pointer, no other pointer will be used to access the same pointed-to object. This limits the effects of pointer aliasing, which can allow the compiler to make optimizations (such as vectorization) that would not otherwise be possible. Undefined behaviour results if the declaration of intent is not followed and the object is accessed by an independent pointer. The restrict keyword was introduced by the C99 standard. Despite C++ supporting most features of C, restrict is not included in standard C++.
Texto: Wikipedia en inglés, CC BY-SA 4.0. ·
Cartas cercanas
-
I
Ioctl
Llamada de sistema en Unix
Nº Q837975 ★
Sin ofertas
-
C--
Lenguaje de programación
Nº Q81348 ★★
Sin ofertas
-
G
Global interpreter lock
Coarse-grained mutex used in some process virtual machines
Nº Q5570451 ★
Sin ofertas
-
Marca de orden de bytes
Carácter Unicode
Nº Q1018724 ★★★
Sin ofertas
-
Principio KISS
Principio de diseño de software
Nº Q131560 ★★★
Sin ofertas
-
C
Caml
Dialecto de la familia de los meta lenguajes de programación
Nº Q1118153 ★
Sin ofertas