Besonderhede van voorbeeld: 8552543833953296643

Metadata

Author: WikiMatrix

Data

English[en]
It is sometimes referred to as "handle classes", the "Pimpl idiom" (for "pointer to implementation idiom"), "Compiler firewall idiom", "d-pointer" or "Cheshire Cat", especially among the C++ community. package Library_Interface is type Handle is limited private; -- Operations... private type Hidden_Implementation; -- Defined in the package body type Handle is access Hidden_Implementation; end Library_Interface; The type Handle is an opaque pointer to the real implementation, that is not defined in the specification.
Spanish[es]
También se la ha llamado "clases handle", "Pimpl idiom" ("pointer to implementation" - puntero a la implementación), "Compiler firewall idiom" o "gato Cheshire", especialmente en la comunidad C++. package Library_Interface is type Handle is limited private; -- Operaciones... private type Hidden_Implementation; -- Definido en el cuerpo del paquete type Handle is access Hidden_Implementation; end Library_Interface; El tipo Handle es un puntero opaco a la verdadera implementación, que no está definida en la especificación.

History

Your action: