我正在尝试使 nvcc (g++/EDG) 与最新的提升很好地配合
template<typename U> \
static false_type has_member(tester<&U::member_name>*); \
给
/opt/boost/include/boost/thread/locks.hpp:65: error: ‘&’ cannot appear in a constant-expression
/opt/boost/include/boost/thread/locks.hpp:65: error: template argument 1 is invalid
知道如何解决吗?