@@ -29,20 +29,22 @@ STDEXEC_PRAGMA_IGNORE_EDG(not_used_in_template_function_params)
2929// //////////////////////////////////////////////////////////////////////////////
3030#define STDEXEC_ERROR_SEQUENCE_SENDER_DEFINITION \
3131 " A sequence sender must provide a `subscribe` member function that takes a receiver as an\n " \
32- " argument and returns an object whose type satisfies `STDEXEC::operation_state`,\n " \
32+ " argument and returns an object whose type satisfies `" STDEXEC_PP_STRINGIZE(STDEXEC) \
33+ " ::operation_state`,\n " \
3334 " as shown below:\n " \
3435 " \n " \
3536 " class MySequenceSender\n " \
3637 " {\n " \
3738 " public:\n " \
3839 " using sender_concept = exec::sequence_sender_t;\n " \
3940 " using item_types = exec::item_types<>;\n " \
40- " using completion_signatures = STDEXEC::completion_signatures<STDEXEC::set_value_t()>;\n " \
41+ " using completion_signatures = " STDEXEC_PP_STRINGIZE(STDEXEC) " ::completion_signatures<" \
42+ STDEXEC_PP_STRINGIZE (STDEXEC) "::set_value_t()>;\n" \
4143 " \n" \
4244 " template <class Receiver >\n" \
4345 " struct MyOpState \n" \
4446 " {\n" \
45- " using operation_state_concept = STDEXEC::operation_state_tag;\n " \
47+ " using operation_state_concept = " STDEXEC_PP_STRINGIZE( STDEXEC) " ::operation_state_tag;\n" \
4648 " \n" \
4749 " void start () noexcept \n" \
4850 " {\n" \
@@ -53,7 +55,7 @@ STDEXEC_PRAGMA_IGNORE_EDG(not_used_in_template_function_params)
5355 " Receiver rcvr_;\n" \
5456 " };\n" \
5557 "\n" \
56- " template <STDEXEC::receiver Receiver>\n " \
58+ " template <" STDEXEC_PP_STRINGIZE( STDEXEC) " ::receiver Receiver>\n" \
5759 " auto subscribe(Receiver rcvr) -> MyOpState<Receiver>\n" \
5860 " {\n" \
5961 " return MyOpState<Receiver>{std::move(rcvr)};\n" \
@@ -71,7 +73,8 @@ STDEXEC_PRAGMA_IGNORE_EDG(not_used_in_template_function_params)
7173// //////////////////////////////////////////////////////////////////////////////
7274#define STDEXEC_ERROR_SUBSCRIBE_DOES_NOT_RETURN_OPERATION_STATE \
7375 " \n " \
74- " FAILURE: The subscribe customization did not return an `STDEXEC::operation_state`.\n " \
76+ " FAILURE: The subscribe customization did not return an `" STDEXEC_PP_STRINGIZE (STDEXEC) \
77+ " ::operation_state`.\n " \
7578 " \n " STDEXEC_ERROR_SEQUENCE_SENDER_DEFINITION
7679
7780namespace experimental ::execution
@@ -780,9 +783,11 @@ namespace experimental::execution
780783
781784 static_assert (sequence_sender<_Sequence>
782785 || has_sequence_item_types<_Sequence, env_of_t <_Receiver>>,
783- " The first argument to STDEXEC::subscribe must be a sequence sender" );
786+ " The first argument to " STDEXEC_PP_STRINGIZE (STDEXEC) " ::subscribe must be "
787+ " a sequence sender" );
784788 static_assert (receiver<_Receiver>,
785- " The second argument to STDEXEC::subscribe must be a receiver" );
789+ " The second argument to " STDEXEC_PP_STRINGIZE (STDEXEC) " ::subscribe must be "
790+ " a receiver" );
786791#if STDEXEC_ENABLE_EXTRA_TYPE_CHECKING()
787792 static_assert (__type_check_arguments<__tfx_seq_t , _Receiver>());
788793#endif
@@ -993,7 +998,7 @@ namespace experimental::execution
993998 " template <class... _Env>\n " \
994999 " auto get_item_types(_Env&&...) -> exec::item_types<\n " \
9951000 " // This sequence produces void items...\n " \
996- " STDEXEC::__call_result_t<STDEXEC::just_t>>\n " \
1001+ " " STDEXEC_PP_STRINGIZE( STDEXEC) " ::__call_result_t<" STDEXEC_PP_STRINGIZE( STDEXEC) " ::just_t>>\n " \
9971002 " {\n " \
9981003 " return {};\n " \
9991004 " }\n " \
0 commit comments