Skip to content

Commit

Permalink
[skip-tests] Use global qualification for internal use
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Aug 17, 2023
1 parent 8d825da commit 8577579
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ concept __invoke_constructible = requires(_Fun&& __fun, _Args&&... __args) {
template<class _Fn, class... _Args>
_LIBCUDACXX_CONCEPT_FRAGMENT(
_Invocable_,
requires(_Fn&& __fn, _Args&&... __args) //
(_CUDA_VSTD::invoke(_CUDA_VSTD::forward<_Fn>(__fn), _CUDA_VSTD::forward<_Args>(__args)...)));
requires(_Fn&& __fn, _Args&&... __args)(
(_CUDA_VSTD::invoke(_CUDA_VSTD::forward<_Fn>(__fn), _CUDA_VSTD::forward<_Args>(__args)...))
));

template<class _Fn, class... _Args>
_LIBCUDACXX_CONCEPT invocable = _LIBCUDACXX_FRAGMENT(_Invocable_, _Fn, _Args...);
Expand Down
8 changes: 4 additions & 4 deletions libcudacxx/include/cuda/std/detail/libcxx/include/__config
Original file line number Diff line number Diff line change
Expand Up @@ -1468,13 +1468,13 @@ typedef __char32_t char32_t;
#ifdef __cuda_std__
# define _LIBCUDACXX_BEGIN_NAMESPACE_STD_NOVERSION namespace cuda { namespace std {
# define _LIBCUDACXX_END_NAMESPACE_STD_NOVERSION } }
# define _CUDA_VSTD cuda::std::_LIBCUDACXX_ABI_NAMESPACE
# define _CUDA_VRANGES cuda::std::ranges::_LIBCUDACXX_ABI_NAMESPACE
# define _CUDA_VSTD ::cuda::std::_LIBCUDACXX_ABI_NAMESPACE
# define _CUDA_VRANGES ::cuda::std::ranges::_LIBCUDACXX_ABI_NAMESPACE
#else
# define _LIBCUDACXX_BEGIN_NAMESPACE_STD_NOVERSION namespace std {
# define _LIBCUDACXX_END_NAMESPACE_STD_NOVERSION }
# define _CUDA_VSTD std::_LIBCUDACXX_ABI_NAMESPACE
# define _CUDA_VRANGES std::ranges::_LIBCUDACXX_ABI_NAMESPACE
# define _CUDA_VSTD ::std::_LIBCUDACXX_ABI_NAMESPACE
# define _CUDA_VRANGES ::std::ranges::_LIBCUDACXX_ABI_NAMESPACE
#endif

#ifdef __cuda_std__
Expand Down

0 comments on commit 8577579

Please sign in to comment.