From 955a534679f58ce67785d655f5d7db97ffcfaf5c Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Mon, 23 Feb 2026 10:02:50 -0800 Subject: [PATCH] stop conditionally placing `__sexpr` class in anonymous namespace --- include/stdexec/__detail/__basic_sender.hpp | 4 ---- include/stdexec/__detail/__sender_introspection.hpp | 5 ----- 2 files changed, 9 deletions(-) diff --git a/include/stdexec/__detail/__basic_sender.hpp b/include/stdexec/__detail/__basic_sender.hpp index 6bae79c96..038a1201e 100644 --- a/include/stdexec/__detail/__basic_sender.hpp +++ b/include/stdexec/__detail/__basic_sender.hpp @@ -312,10 +312,8 @@ namespace STDEXEC }; }; -#if !defined(STDEXEC_DEMANGLE_SENDER_NAMES) namespace { -#endif //! A struct template to aid in creating senders. This struct resembles P2300's //! [_`basic-sender`_](https://eel.is/c++draft/exec#snd.expos-24), but is not an exact //! implementation. Note: The struct named `__basic_sender` is just a dummy type and @@ -407,9 +405,7 @@ namespace STDEXEC template STDEXEC_HOST_DEVICE_DEDUCTION_GUIDE __sexpr(_Tag, _Data, _Child...) -> __sexpr; -#if !defined(STDEXEC_DEMANGLE_SENDER_NAMES) } // anonymous namespace -#endif ////////////////////////////////////////////////////////////////////////////////////////////////// // __make_sexpr diff --git a/include/stdexec/__detail/__sender_introspection.hpp b/include/stdexec/__detail/__sender_introspection.hpp index 52def5278..41aa52a82 100644 --- a/include/stdexec/__detail/__sender_introspection.hpp +++ b/include/stdexec/__detail/__sender_introspection.hpp @@ -26,16 +26,11 @@ namespace STDEXEC { -#if defined(STDEXEC_DEMANGLE_SENDER_NAMES) - template - struct __sexpr; -#else namespace { template struct __sexpr; } // namespace -#endif // A type that describes a sender's metadata template