Windows building
kirill-pinigin opened this issue · comments
Kirill commented
Please, help me.
How to build cpu version of ATen on Windows Platform?
Kirill commented
template
class IsStreamInsertable {
template<typename SS, typename TT>
static auto test(int)
-> decltype(std::declval<SS&>() << std::declval(), std::true_type());
template<typename, typename>
static auto test(...)->std::false_type;
public:
static const bool value = decltype(test<std::ostream, const T&>(0))::value;
};
When I am building I meet the "error C2872: 'std': ambiguous symbol" in static auto test(int)
-> decltype(std::declval<SS&>() << std::declval(), std::true_type());