Files
2025-10-25 03:02:53 +03:00

38 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[objects.within.classes]
# 16 Library introduction [[library]](./#library)
## 16.3 Method of description [[description]](description#objects.within.classes)
### 16.3.3 Other conventions [[conventions]](conventions#objects.within.classes)
#### 16.3.3.6 Private members [objects.within.classes]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/lib-intro.tex#L945)
[[support]](support "17Language support library") through [[exec]](exec "33Execution control library") and[[depr]](depr "Annex D(normative)Compatibility features") do not specify the representation of classes, and intentionally
omit specification of [class members](class.mem "11.4Class members[class.mem]")[.](#1.sentence-1)
An implementation may
define static or non-static class members, or both, as needed to implement the
semantics of the member functions specified in [[support]](support "17Language support library") through [[exec]](exec "33Execution control library") and [[depr]](depr "Annex D(normative)Compatibility features")[.](#1.sentence-2)
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/lib-intro.tex#L953)
For the sake of exposition,
some subclauses provide representative declarations, and semantic requirements, for
private members of classes that meet the external specifications of the classes[.](#2.sentence-1)
The declarations for such members are
followed by a comment that ends with *exposition only*, as in:streambuf* sb; // *exposition only*
[3](#3)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/lib-intro.tex#L963)
An implementation may use any technique that provides equivalent observable behavior[.](#3.sentence-1)