mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
work around nvcc bug by only defining has_result when it's needed
This commit is contained in:
parent
d4b5fde5a8
commit
de0e18ca0a
@ -73,7 +73,10 @@ namespace detail {
|
|||||||
|
|
||||||
BOOST_MPL_HAS_XXX_TRAIT_DEF(result_type)
|
BOOST_MPL_HAS_XXX_TRAIT_DEF(result_type)
|
||||||
|
|
||||||
|
// Work around a nvcc bug by only defining has_result when it's needed.
|
||||||
|
#ifdef BOOST_RESULT_OF_USE_TR1_WITH_DECLTYPE_FALLBACK
|
||||||
BOOST_MPL_HAS_XXX_TEMPLATE_DEF(result)
|
BOOST_MPL_HAS_XXX_TEMPLATE_DEF(result)
|
||||||
|
#endif
|
||||||
|
|
||||||
template<typename F, typename FArgs, bool HasResultType> struct tr1_result_of_impl;
|
template<typename F, typename FArgs, bool HasResultType> struct tr1_result_of_impl;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user