Date: Sat, 25 Feb 2023 18:24:52 +0100
On 2/25/23 12:48, Frederick Virchanza Gotham via Std-Proposals wrote:
> "An interface allows something to be a black box, you don't need to
> know about or understand the black box's internal working, you just
> need to be familiar with the black box's interface. The definition of
> the interface is a list of well-defined rules for how to interact with
> the black box."
That describes C++ classes.
The "interface" in your proposal is an adapter.
> "An interface allows something to be a black box, you don't need to
> know about or understand the black box's internal working, you just
> need to be familiar with the black box's interface. The definition of
> the interface is a list of well-defined rules for how to interact with
> the black box."
That describes C++ classes.
The "interface" in your proposal is an adapter.
Received on 2023-02-25 17:24:55