Live briefing
Everything about Friend class
Object relationship in programming language
A friend class in C++ can access the private and protected members of the class in which it is declared as a friend. A significant use of a friend class is for a part of a data structure, represented by a class, to provide access to the main class representing that data structure. The friend class mechanism allows to extend the storage and access to the parts, while retaining proper encapsulation as seen by the users of the data structure. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: Friend classA 5-minute orientation
- Skim a recent paper: Reassessing the Strength of a Class of Wigner’s Friend No-Go TheoremsInfluential work since 2022
- Pick up a classic book: Edvard MunchThe most-reprinted book on the subject
- Read the landmark paper: ‘Alcohol is my friend’: Young middle class women discuss their relationship with alcoholCited 56 times
- Go sideways: Variadic templateA closely related topic
- Go sideways: Template (C++)A closely related topic
📖 Definitions
No dictionary entry for this exact phrase.
🗂️ The subject at a glance
🏆 Landmark papers (most cited)
‘Alcohol is my friend’: Young middle class women discuss their relationship with alcohol
The puzzling new class of variable stars in NGC 3766: old friend pulsators?
MHC Class II Binding Prediction—A Little Help from a Friend
Class switch recombination: A friend and a foe
'Café Friend': Friendship and Fraternity in Parisian Working-Class Cafés, 1850-1914
Methylation of a middle repetitive DNA sequence class during differentiation in Friend erythroleukemia cells
Ally, friend, or mentor? Creating and maintaining effective cross-class alliances
Classroom composition and language skills: the role of school class and friend characteristics
🆕 Influential since 2022
📚 Books worth reading
Edvard MunchEdvard Munch, Christoph Asendorf · 1927
Normal PeopleSally Rooney, Katia Benovich · 2018
AcciaioSilvia Avallone, Josep Julià Ballbé · 2010- 📕Ann Yearsley and Hannah More, Patronage and PoetryKerri Andrews · 2013
The Short and Tragic Life of Robert PeaceJeff Hobbs · 2014
The Riviera setMary S. Lovell · 2016
The bridesmaidsJudy Quine · 1989
The French RevolutionT. C. W. Blanning · 1987
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Variadic template In computer programming, variadic templates or variation generics are templates that take a variable number of type parameters. They exist in several programmin…
- Template (C++) Templates are a feature of the C++ programming language that allow functions and classes to operate with generic types. This allows a function or class…
- Concepts (C++) Concepts in the C++ programming language are type constraints on templates (or generics). Concepts are named Boolean predicates on template parameters…
- Method (computer programming) A method in object-oriented programming (OOP) is a procedure associated with an object, and generally also a message. An object consists of state data…
- Iterator pattern In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's…
- Decorator pattern In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an individual object dynamically, without…
- Interpreter pattern In computer programming, the interpreter pattern is a design pattern that specifies how to evaluate sentences in a language. The basic idea is to have…
- Composite pattern In software engineering, the composite pattern is a partitioning design pattern. The composite pattern describes a group of objects that are treated the…