zdevito / ATen

ATen: A TENsor library for C++11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows building

kirill-pinigin opened this issue · comments

Please, help me.
How to build cpu version of ATen on Windows Platform?

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());