From b172bae6e71e5e3124d4ac45c9baad3da4eadda1 Mon Sep 17 00:00:00 2001 From: Mingxin Wang Date: Tue, 19 Nov 2024 14:04:27 +0800 Subject: [PATCH] Improve accessibility in debugging (#200) --- docs/ProAccessible.md | 2 +- proxy.h | 85 +++++++++++++++++++++++++++++++------------ 2 files changed, 63 insertions(+), 24 deletions(-) diff --git a/docs/ProAccessible.md b/docs/ProAccessible.md index f8e3ddd..fde8a85 100644 --- a/docs/ProAccessible.md +++ b/docs/ProAccessible.md @@ -4,7 +4,7 @@ Given that `F` is a type meeting the [*ProBasicFacade* requirements](ProBasicFac | Expressions | Semantics | | ------------------------------------------- | ------------------------------------------------------------ | -| `typename T::template accessor` | A type that provides accessibility to `proxy`. It shall be a trivial class type and not [final](https://en.cppreference.com/w/cpp/language/final). | +| `typename T::template accessor` | A type that provides accessibility to `proxy`. It shall be a *nothrow-default-constructible*, *trivially-copyable* type, and shall not be [final](https://en.cppreference.com/w/cpp/language/final). | ## See Also diff --git a/proxy.h b/proxy.h index 16ef19c..a78221e 100644 --- a/proxy.h +++ b/proxy.h @@ -450,9 +450,11 @@ struct lifetime_meta_traits template