template <typename T> struct has_resize<T, decltype((void)std::declval<T>().resize(1), 0)>
: std::true_type {};
struct has_assign<T, decltype((void)std::declval<T>().assign(1, 0), 0)>
: std::true_type {};
2>f:\cpps\rhks\include\../thirdparty/nanoflann.hpp(90): error C2228: left of '.resize' must have class/struct/union
2> type is 'add_rvalue_reference<_Ty>::type'
2>f:\cpps\rkhs\include\../thirdparty/nanoflann.hpp(96): error C2228: left of '.assign' must have class/struct/union
2> type is 'add_rvalue_reference<_Ty>::type'
VS2013里提示这个 是因为没有c++11的特性吗
如果是这样的话在VS2013里怎么替代这个实现
业余人士 请指教一下 谢谢
--
FROM 106.39.0.*