dbo:abstract
|
- 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. Similar to a friend class, a friend function is a function that is given access to the private and protected members of the class in which it is declared as a friend. (en)
- Klasa zaprzyjaźniona – klasa, która ma dostęp do prywatnych i chronionych składników danej klasy, a konkretniej: której funkcje składowe (metody) mają dostęp do prywatnych i chronionych składników danej klasy. Przyjaźń deklaruje zawsze klasa która chce by inna klasa miała dostęp do jej składników prywatnych - nigdy na odwrót. (pl)
- Дружні класи або Класи-друзі в C++ це такі класи, які можуть мати доступ до членів класу з модифікаторами "private" і "protected" того класу, в якому вони оголошені як друзі за допомогою ключового слова friend. (uk)
|
dbo:wikiPageExternalLink
| |
dbo:wikiPageID
| |
dbo:wikiPageInterLanguageLink
| |
dbo:wikiPageLength
|
- 5765 (xsd:nonNegativeInteger)
|
dbo:wikiPageRevisionID
| |
dbo:wikiPageWikiLink
| |
dbp:wikiPageUsesTemplate
| |
dcterms:subject
| |
rdfs:comment
|
- Klasa zaprzyjaźniona – klasa, która ma dostęp do prywatnych i chronionych składników danej klasy, a konkretniej: której funkcje składowe (metody) mają dostęp do prywatnych i chronionych składników danej klasy. Przyjaźń deklaruje zawsze klasa która chce by inna klasa miała dostęp do jej składników prywatnych - nigdy na odwrót. (pl)
- Дружні класи або Класи-друзі в C++ це такі класи, які можуть мати доступ до членів класу з модифікаторами "private" і "protected" того класу, в якому вони оголошені як друзі за допомогою ключового слова friend. (uk)
- 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. (en)
|
rdfs:label
|
- Friend class (en)
- Klasa zaprzyjaźniona (pl)
- Класи-друзі (програмування) (uk)
|
owl:sameAs
| |
prov:wasDerivedFrom
| |
foaf:isPrimaryTopicOf
| |
is dbo:wikiPageDisambiguates
of | |
is dbo:wikiPageWikiLink
of | |
is foaf:primaryTopic
of | |