Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions DRAFT.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,13 +595,15 @@ the allocators are not swapped.

#### X.Y.8 Member access [protocol.member.access]

1. For each public non-static, non-template member function _f_ declared in _I_ with name _N_, return type _R_, parameter-type-list _P_, cv-qualifier-seq _cv_, and ref-qualifier _ref_, `protocol` shall contain a public non-virtual member function with the same name _N_, return type _R_, parameter-type-list _P_, and identical cv-qualifiers and ref-qualifiers.
1. For each public non-static, non-template member function _f_ declared in _I_ with name _N_, return type _R_, parameter-type-list _P_, cv-qualifier-seq _cv_, ref-qualifier _ref_, _noexcept-specifier_ _S_, and _constexpr-specifier_ _C_, `protocol` shall contain a public non-virtual member function with the same name _N_, return type _R_, parameter-type-list _P_, and identical cv-qualifiers, ref-qualifiers, _noexcept-specifier_, and _constexpr-specifier_.

2. _Effects_: If `*this` is not valueless, calls the corresponding member function of the owned object with the provided arguments. If `*this` is valueless, the behavior is undefined.
2. _Preconditions_: `*this` is not valueless.

3. _Returns_: The value returned from the called function, if any.
3. _Effects_: Calls the corresponding member function of the owned object with the provided arguments.

4. _Throws_: Any exception thrown by the called function.
4. _Returns_: The value returned from the called function, if any.

5. _Throws_: Any exception thrown by the called function.

<!--
```cpp
Expand Down
Loading