Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows building #206

Open
kirill-pinigin opened this issue Mar 27, 2018 · 1 comment
Open

Windows building #206

kirill-pinigin opened this issue Mar 27, 2018 · 1 comment

Comments

@kirill-pinigin
Copy link

kirill-pinigin commented Mar 27, 2018

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

@kirill-pinigin
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant