Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from mingw.thread.h:41:0,
- from Matrix.h:5,
- from matrix.cpp:1:
- mingw.invoke.h: In instantiation of 'struct mingw_stdthread::detail::InvokeResult<void (Matrix::*)(const std::vector<int>&, int), std::vector<int, std::allocator<int> >, int>':
- mingw.invoke.h:99:83: required by substitution of 'template<class F, class ... Args> decltype (mingw_stdthread::detail::InvokeResult<F, Args ...>::invoke(forward<F>(f), (forward<Args>)(mingw_stdthread::detail::invoke::args)...)) mingw_stdthread::detail::invoke(F&&, Args&& ...) [with F = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >, int}]'
- mingw.thread.h:94:27: required from 'void mingw_stdthread::detail::ThreadFuncCall<Func, mingw_stdthread::detail::IntSeq<S ...>, Args ...>::callFunc() [with Func = void (Matrix::*)(const std::vector<int>&, int); unsigned int ...S = {0u, 1u}; Args = {std::vector<int, std::allocator<int> >&, int&}]'
- mingw.thread.h:145:9: required from 'static unsigned int mingw_stdthread::thread::threadfunc(void*) [with Call = mingw_stdthread::detail::ThreadFuncCall<void (Matrix::*)(const std::vector<int>&, int), mingw_stdthread::detail::IntSeq<0u, 1u>, std::vector<int, std::allocator<int> >&, int&>]'
- mingw.thread.h:185:41: required from 'mingw_stdthread::thread::thread(Func&&, Args&& ...) [with Func = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >&, int&}]'
- matrix.cpp:43:62: required from here
- mingw.invoke.h:92:82: error: no matching function for call to 'mingw_stdthread::detail::Invoker<true, false>::invoke(void (Matrix::*)(const std::vector<int>&, int), std::vector<int>, int)'
- inline static auto invoke (F&& f, Args&&... args) -> decltype(invoker::invoke(std::forward<F>(f), std::forward<Args>(args)...))
- ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from mingw.thread.h:41:0,
- from Matrix.h:5,
- from matrix.cpp:1:
- mingw.invoke.h:68:24: note: candidate: template<class T, class F, class T1, class ... Args> static decltype ((mingw_stdthread::detail::InvokerHelper<std::is_base_of<T, typename std::decay<T1>::type>::value>::get)((forward<T1>)(mingw_stdthread::detail::Invoker<true, false>::invoke::t1)).*mingw_stdthread::detail::Invoker<true, false>::invoke::f((forward<Args>)(mingw_stdthread::detail::Invoker<true, false>::invoke::args)...)) mingw_stdthread::detail::Invoker<true, false>::invoke(F T::*, T1&&, Args&& ...)
- inline static auto invoke (F T::* f, T1&& t1, Args&&... args) ->\
- ^~~~~~
- mingw.invoke.h:68:24: note: template argument deduction/substitution failed:
- mingw.invoke.h: In substitution of 'template<class T, class F, class T1, class ... Args> static decltype ((mingw_stdthread::detail::InvokerHelper<std::is_base_of<T, typename std::decay<T1>::type>::value>::get)((forward<T1>)(mingw_stdthread::detail::Invoker<true, false>::invoke::t1)).*mingw_stdthread::detail::Invoker<true, false>::invoke::f((forward<Args>)(mingw_stdthread::detail::Invoker<true, false>::invoke::args)...)) mingw_stdthread::detail::Invoker<true, false>::invoke(F T::*, T1&&, Args&& ...) [with T = Matrix; F = void(const std::vector<int>&, int); T1 = std::vector<int>; Args = {int}]':
- mingw.invoke.h:92:82: required from 'struct mingw_stdthread::detail::InvokeResult<void (Matrix::*)(const std::vector<int>&, int), std::vector<int, std::allocator<int> >, int>'
- mingw.invoke.h:99:83: required by substitution of 'template<class F, class ... Args> decltype (mingw_stdthread::detail::InvokeResult<F, Args ...>::invoke(forward<F>(f), (forward<Args>)(mingw_stdthread::detail::invoke::args)...)) mingw_stdthread::detail::invoke(F&&, Args&& ...) [with F = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >, int}]'
- mingw.thread.h:94:27: required from 'void mingw_stdthread::detail::ThreadFuncCall<Func, mingw_stdthread::detail::IntSeq<S ...>, Args ...>::callFunc() [with Func = void (Matrix::*)(const std::vector<int>&, int); unsigned int ...S = {0u, 1u}; Args = {std::vector<int, std::allocator<int> >&, int&}]'
- mingw.thread.h:145:9: required from 'static unsigned int mingw_stdthread::thread::threadfunc(void*) [with Call = mingw_stdthread::detail::ThreadFuncCall<void (Matrix::*)(const std::vector<int>&, int), mingw_stdthread::detail::IntSeq<0u, 1u>, std::vector<int, std::allocator<int> >&, int&>]'
- mingw.thread.h:185:41: required from 'mingw_stdthread::thread::thread(Func&&, Args&& ...) [with Func = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >&, int&}]'
- matrix.cpp:43:62: required from here
- mingw.invoke.h:69:92: error: no matching function for call to 'mingw_stdthread::detail::InvokerHelper<false>::get(std::vector<int>)'
- decltype((InvokerHelper<std::is_base_of<T,typename std::decay<T1>::type>::value>::get(std::forward<T1>(t1)).*f)(std::forward<Args>(args)...))
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- mingw.invoke.h:42:24: note: candidate: template<class T1> static decltype (* forward<T1>(t1)) mingw_stdthread::detail::InvokerHelper<false>::get(T1&&)
- inline static auto get (T1&& t1) -> decltype(*std::forward<T1>(t1))
- ^~~
- mingw.invoke.h:42:24: note: template argument deduction/substitution failed:
- mingw.invoke.h: In substitution of 'template<class T1> static decltype (* forward<T1>(t1)) mingw_stdthread::detail::InvokerHelper<false>::get(T1&&) [with T1 = std::vector<int>]':
- mingw.invoke.h:69:92: required by substitution of 'template<class T, class F, class T1, class ... Args> static decltype ((mingw_stdthread::detail::InvokerHelper<std::is_base_of<T, typename std::decay<T1>::type>::value>::get)((forward<T1>)(mingw_stdthread::detail::Invoker<true, false>::invoke::t1)).*mingw_stdthread::detail::Invoker<true, false>::invoke::f((forward<Args>)(mingw_stdthread::detail::Invoker<true, false>::invoke::args)...)) mingw_stdthread::detail::Invoker<true, false>::invoke(F T::*, T1&&, Args&& ...) [with T = Matrix; F = void(const std::vector<int>&, int); T1 = std::vector<int>; Args = {int}]'
- mingw.invoke.h:92:82: required from 'struct mingw_stdthread::detail::InvokeResult<void (Matrix::*)(const std::vector<int>&, int), std::vector<int, std::allocator<int> >, int>'
- mingw.invoke.h:99:83: required by substitution of 'template<class F, class ... Args> decltype (mingw_stdthread::detail::InvokeResult<F, Args ...>::invoke(forward<F>(f), (forward<Args>)(mingw_stdthread::detail::invoke::args)...)) mingw_stdthread::detail::invoke(F&&, Args&& ...) [with F = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >, int}]'
- mingw.thread.h:94:27: required from 'void mingw_stdthread::detail::ThreadFuncCall<Func, mingw_stdthread::detail::IntSeq<S ...>, Args ...>::callFunc() [with Func = void (Matrix::*)(const std::vector<int>&, int); unsigned int ...S = {0u, 1u}; Args = {std::vector<int, std::allocator<int> >&, int&}]'
- mingw.thread.h:145:9: required from 'static unsigned int mingw_stdthread::thread::threadfunc(void*) [with Call = mingw_stdthread::detail::ThreadFuncCall<void (Matrix::*)(const std::vector<int>&, int), mingw_stdthread::detail::IntSeq<0u, 1u>, std::vector<int, std::allocator<int> >&, int&>]'
- mingw.thread.h:185:41: required from 'mingw_stdthread::thread::thread(Func&&, Args&& ...) [with Func = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >&, int&}]'
- matrix.cpp:43:62: required from here
- mingw.invoke.h:42:50: error: no match for 'operator*' (operand type is 'std::vector<int>')
- inline static auto get (T1&& t1) -> decltype(*std::forward<T1>(t1))
- ^~~~~~~~~~~~~~~~~~~~~
- mingw.invoke.h: In substitution of 'template<class T, class F, class T1, class ... Args> static decltype ((mingw_stdthread::detail::InvokerHelper<std::is_base_of<T, typename std::decay<T1>::type>::value>::get)((forward<T1>)(mingw_stdthread::detail::Invoker<true, false>::invoke::t1)).*mingw_stdthread::detail::Invoker<true, false>::invoke::f((forward<Args>)(mingw_stdthread::detail::Invoker<true, false>::invoke::args)...)) mingw_stdthread::detail::Invoker<true, false>::invoke(F T::*, T1&&, Args&& ...) [with T = Matrix; F = void(const std::vector<int>&, int); T1 = std::vector<int>; Args = {int}]':
- mingw.invoke.h:92:82: required from 'struct mingw_stdthread::detail::InvokeResult<void (Matrix::*)(const std::vector<int>&, int), std::vector<int, std::allocator<int> >, int>'
- mingw.invoke.h:99:83: required by substitution of 'template<class F, class ... Args> decltype (mingw_stdthread::detail::InvokeResult<F, Args ...>::invoke(forward<F>(f), (forward<Args>)(mingw_stdthread::detail::invoke::args)...)) mingw_stdthread::detail::invoke(F&&, Args&& ...) [with F = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >, int}]'
- mingw.thread.h:94:27: required from 'void mingw_stdthread::detail::ThreadFuncCall<Func, mingw_stdthread::detail::IntSeq<S ...>, Args ...>::callFunc() [with Func = void (Matrix::*)(const std::vector<int>&, int); unsigned int ...S = {0u, 1u}; Args = {std::vector<int, std::allocator<int> >&, int&}]'
- mingw.thread.h:145:9: required from 'static unsigned int mingw_stdthread::thread::threadfunc(void*) [with Call = mingw_stdthread::detail::ThreadFuncCall<void (Matrix::*)(const std::vector<int>&, int), mingw_stdthread::detail::IntSeq<0u, 1u>, std::vector<int, std::allocator<int> >&, int&>]'
- mingw.thread.h:185:41: required from 'mingw_stdthread::thread::thread(Func&&, Args&& ...) [with Func = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >&, int&}]'
- matrix.cpp:43:62: required from here
- mingw.invoke.h:48:24: note: candidate: template<class T1> static decltype (t1.get()) mingw_stdthread::detail::InvokerHelper<false>::get(const std::reference_wrapper<_Tp>&)
- inline static auto get (const std::reference_wrapper<T1>& t1) -> decltype(t1.get())
- ^~~
- mingw.invoke.h:48:24: note: template argument deduction/substitution failed:
- mingw.invoke.h:69:92: note: 'std::vector<int>' is not derived from 'const std::reference_wrapper<_Tp>'
- decltype((InvokerHelper<std::is_base_of<T,typename std::decay<T1>::type>::value>::get(std::forward<T1>(t1)).*f)(std::forward<Args>(args)...))
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
- In file included from Matrix.h:5:0,
- from matrix.cpp:1:
- mingw.thread.h: In instantiation of 'void mingw_stdthread::detail::ThreadFuncCall<Func, mingw_stdthread::detail::IntSeq<S ...>, Args ...>::callFunc() [with Func = void (Matrix::*)(const std::vector<int>&, int); unsigned int ...S = {0u, 1u}; Args = {std::vector<int, std::allocator<int> >&, int&}]':
- mingw.thread.h:145:9: required from 'static unsigned int mingw_stdthread::thread::threadfunc(void*) [with Call = mingw_stdthread::detail::ThreadFuncCall<void (Matrix::*)(const std::vector<int>&, int), mingw_stdthread::detail::IntSeq<0u, 1u>, std::vector<int, std::allocator<int> >&, int&>]'
- mingw.thread.h:185:41: required from 'mingw_stdthread::thread::thread(Func&&, Args&& ...) [with Func = void (Matrix::*)(const std::vector<int>&, int); Args = {std::vector<int, std::allocator<int> >&, int&}]'
- matrix.cpp:43:62: required from here
- mingw.thread.h:94:27: error: no matching function for call to 'invoke(std::remove_reference<void (Matrix::*&)(const std::vector<int>&, int)>::type, std::remove_reference<std::vector<int>&>::type, std::remove_reference<int&>::type)'
- detail::invoke(std::move(mFunc), std::move(std::get<S>(mArgs)) ...);
- ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from mingw.thread.h:41:0,
- from Matrix.h:5,
- from matrix.cpp:1:
- mingw.invoke.h:99:8: note: candidate: template<class F, class ... Args> decltype (mingw_stdthread::detail::InvokeResult<F, Args ...>::invoke(forward<F>(f), (forward<Args>)(mingw_stdthread::detail::invoke::args)...)) mingw_stdthread::detail::invoke(F&&, Args&& ...)
- auto invoke (F&& f, Args&&... args) -> decltype(InvokeResult<F, Args...>::invoke(std::forward<F>(f), std::forward<Args>(args)...))
- ^~~~~~
- mingw.invoke.h:99:8: note: substitution of deduced template arguments resulted in errors seen above
- Сборка завершена с ошибками.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement