Skip to content

Commit a14410f

Browse files
committed
Revert incorrect changes
1 parent bcbe0c7 commit a14410f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/spec/make_proxy_view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ template <facade F, class T>
1212
proxy_view<F> make_proxy_view(T& value) noexcept;
1313
```
1414
15-
Creates a `proxy_view<F>` object containing a value `p` of type `observer-ptr<T>`, where `*p` is direct-non-list-initialized with `&value`. If [`proxiable_target<T, F>`](proxiable_target.md) is `false`, the program is ill-formed and diagnostic messages are generated.
15+
Creates a `proxy_view<F>` object containing a value `p` of type `observer-ptr<T>`, where `*p` is direct-non-list-initialized with `std::addressof(value)`. If [`proxiable_target<T, F>`](proxiable_target.md) is `false`, the program is ill-formed and diagnostic messages are generated.
1616
1717
## Return Value
1818

docs/spec/proxiable_target.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
```cpp
99
template <class T, class F>
10-
concept proxiable_target = proxiable<observer-ptr<T>, F>;
10+
concept proxiable_target = proxiable<observer-ptr<T>, observer_facade<F>>;
1111
```
1212
1313
See [`make_proxy_view`](make_proxy_view.md) for the definition of the exposition-only class template *observer-ptr*.

0 commit comments

Comments
 (0)