Forwarding (object-oriented programming)

Forwarding (object-oriented programming)
ConceptComputer Science Concepts

A technique that redirects object member use

1.00Common
No. 55961Kosmora

Common

Forwarding (object-oriented programming)

  • Computer Science Concepts

In object-oriented programming, forwarding is a technique in which use of an object's property or method is redirected to the corresponding member of another object. It is used in several design patterns, with some members forwarded and others handled by the directly used object. The forwarding object is often called a wrapper object, and explicit forwarding members are called wrapper functions.

The picture on this card was made with AI. It is an illustration, not a real photo of the subject.

Definition
Use of an object's member is redirected to another object.
Forwarding object
Frequently called a wrapper object.
Use
Used in a number of design patterns.
Sources and credits

Sources and credits

Article
Forwarding (object-oriented programming) (English Wikipedia)
Wikidata
Q25345955
Text
Card text is adapted from the English Wikipedia article by an automated summary. Wikipedia content is available under CC BY-SA 4.0; see the article history for its contributors. CC BY-SA 4.0 · Article history and contributors
Illustration
AI-generated illustration. Not a photograph or documentary image. (model: gpt-image-2.5-flare)
Popularity
6 median daily views (Wikimedia Pageviews API (all-access, user agent))

Kosmora is not affiliated with or endorsed by the Wikimedia Foundation.