Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
/libcudacxxPublic archive

Commit32cd22a

Browse files
committed
Fix non ugly qualification in nvrtc workaround
1 parent97930af commit32cd22a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎include/cuda/std/detail/libcxx/include/__functional/bind_front.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct __bind_front_t : __perfect_forward<__bind_front_op, _Fn, _BoundArgs...> {
5050

5151
template<class... _Args>
5252
_LIBCUDACXX_INLINE_VISIBILITYconstexpr
53-
__bind_front_t(_Args&&... __args)noexcept(noexcept(__base(cuda::std::declval<_Args>()...)))
53+
__bind_front_t(_Args&&... __args)noexcept(noexcept(__base(_CUDA_VSTD::declval<_Args>()...)))
5454
: __base(_CUDA_VSTD::forward<_Args>(__args)...)
5555
{}
5656
#else

‎include/cuda/std/detail/libcxx/include/__functional/not_fn.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct __not_fn_t : __perfect_forward<__not_fn_op, _Fn> {
4949
_LIBCUDACXX_TEMPLATE(class_OrigFn)
5050
(requires_LIBCUDACXX_TRAIT(is_same, _Fn,__decay_t<_OrigFn>))
5151
_LIBCUDACXX_INLINE_VISIBILITYconstexpr
52-
__not_fn_t(_OrigFn&& __fn)noexcept(noexcept(__base(cuda::std::declval<_OrigFn>())))
52+
__not_fn_t(_OrigFn&& __fn)noexcept(noexcept(__base(_CUDA_VSTD::declval<_OrigFn>())))
5353
: __base(_CUDA_VSTD::forward<_OrigFn>(__fn))
5454
{}
5555
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp