ATen icon indicating copy to clipboard operation
ATen copied to clipboard

Windows building

Open kirill-pinigin opened this issue 6 years ago • 1 comments

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

kirill-pinigin avatar Mar 27 '18 04:03 kirill-pinigin

template<typename T> class IsStreamInsertable { template<typename SS, typename TT> static auto test(int) -> decltype(std::declval<SS&>() << std::declval<TT>(), 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<TT>(), std::true_type());

kirill-pinigin avatar Mar 27 '18 05:03 kirill-pinigin