Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Opaque type?

Definition 7.3 University Computer Science — Year 1 · Capítulo 7 — Modular Programs, Makefiles and Tests

An opaque type is a type that the interface declares without defining it, such as struct ratio; in a header whose fields appear only in the implementation file. Users can hold and pass pointers to it, but cannot read its fields, create one on the stack, or know its size: everything goes through the module’s functions.

Leer en el capítulo →