C:\...\BotTemplate.cpp||In function 'Robot* Assemble(RobotTemplate)':|
C:\...\BotTemplate.cpp|22|error: no matching function for call to 'std::list<std::unique_ptr<RobotExtensions> >::list(<brace-enclosed initializer list>)'|
C:\...\BotTemplate.cpp|22|note: candidates are:|
c:\codeblocks_v12\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|642|note: template<class _InputIterator> std::list::list(_InputIterator, _InputIterator, const allocator_type&)|
c:\codeblocks_v12\mingw\bin\..\lib\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|642|note: template argument deduction/substitution failed:|
C:\...\BotTemplate.cpp|22|note: cannot convert 'Build((ExtensionType)7, (* & * & std::list<std::unique_ptr<RobotPart> >()))' (type 'RobotExtensions*') to type 'const allocator_type& {aka const std::allocator<std::unique_ptr<RobotExtensions> >&}'|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|625|note: std::list<_Tp, _Alloc>::list(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = std::unique_ptr<RobotExtensions>; _Alloc = std::allocator<std::unique_ptr<RobotExtensions> >; std::list<_Tp, _Alloc>::allocator_type = std::allocator<std::unique_ptr<RobotExtensions> >]|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|625|note: candidate expects 2 arguments, 12 provided|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|614|note: std::list<_Tp, _Alloc>::list(std::list<_Tp, _Alloc>&&) [with _Tp = std::unique_ptr<RobotExtensions>; _Alloc = std::allocator<std::unique_ptr<RobotExtensions> >; std::list<_Tp, _Alloc> = std::list<std::unique_ptr<RobotExtensions> >]|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|614|note: candidate expects 1 argument, 12 provided|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|602|note: std::list<_Tp, _Alloc>::list(const std::list<_Tp, _Alloc>&) [with _Tp = std::unique_ptr<RobotExtensions>; _Alloc = std::allocator<std::unique_ptr<RobotExtensions> >; std::list<_Tp, _Alloc> = std::list<std::unique_ptr<RobotExtensions> >]|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|602|note: candidate expects 1 argument, 12 provided|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|575|note: std::list<_Tp, _Alloc>::list(std::list<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = std::unique_ptr<RobotExtensions>; _Alloc = std::allocator<std::unique_ptr<RobotExtensions> >; std::list<_Tp, _Alloc>::size_type = unsigned int; std::list<_Tp, _Alloc>::value_type = std::unique_ptr<RobotExtensions>; std::list<_Tp, _Alloc>::allocator_type = std::allocator<std::unique_ptr<RobotExtensions> >]|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|575|note: candidate expects 3 arguments, 12 provided|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|563|note: std::list<_Tp, _Alloc>::list(std::list<_Tp, _Alloc>::size_type) [with _Tp = std::unique_ptr<RobotExtensions>; _Alloc = std::allocator<std::unique_ptr<RobotExtensions> >; std::list<_Tp, _Alloc>::size_type = unsigned int]|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|563|note: candidate expects 1 argument, 12 provided|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|551|note: std::list<_Tp, _Alloc>::list(const allocator_type&) [with _Tp = std::unique_ptr<RobotExtensions>; _Alloc = std::allocator<std::unique_ptr<RobotExtensions> >; std::list<_Tp, _Alloc>::allocator_type = std::allocator<std::unique_ptr<RobotExtensions> >]|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|551|note: candidate expects 1 argument, 12 provided|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|543|note: std::list<_Tp, _Alloc>::list() [with _Tp = std::unique_ptr<RobotExtensions>; _Alloc = std::allocator<std::unique_ptr<RobotExtensions> >]|
c:\...\gcc\mingw32\4.7.1\include\c++\bits\stl_list.h|543|note: candidate expects 0 arguments, 12 provided|
|