Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » [Solved]Vector<Vector<int>> problem
Re: Vector<Vector<int>> problem [message #53047 is a reply to message #53045] Mon, 17 February 2020 09:19 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3432
Registered: August 2008
Senior Veteran
In my case I get this error in MinGW:
error: use of deleted function 'constexpr Upp::Vector<int>::Vector(const Upp::Vector<int>&)'

and this in MSVC:
C:\upp\uppsrc\Core\Vcont.h(132): error C2280: 'Upp::Vector<int>::Vector(const Upp::Vector<int> &)': attempting to reference a deleted function
C:\upp\uppsrc\Core\Vcont.h(258): note: compiler has generated 'Upp::Vector<int>::Vector' here
C:\upp\uppsrc\Core\Vcont.h(258): note: 'Upp::Vector<int>::Vector(const Upp::Vector<int> &)': function was implicitly deleted because 'Upp::Vector<int>' has a user-defined move constructor
C:\upp\uppsrc\Core\Vcont.h(132): note: while compiling class template member function 'T &Upp::Vector<T>::Add(co
nst T &)' with
[
T=Upp::Vector<int>
]
C:\upp\uppsrc\Core\Vcont.h(197): note: see reference to function template instantiation 'T &Upp::Vector<T>::Add(const T &)' being compiled with
[
T=Upp::Vector<int>
]
C:\upp\uppsrc\Core\InVector.h(33): note: see reference to class template instantiation 'Upp::Vector<Upp::Vector<int>>' being compiled
C:\upp\uppsrc\Core\InVector.h(176): note: see reference to class template instantiation 'Upp::InVector<T>' being compiled


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Get volume name of shares ...
Next Topic: error: call to implicitly-deleted copy constructor
Goto Forum:
  


Current Time: Tue Apr 29 04:45:54 CEST 2025

Total time taken to generate the page: 0.01047 seconds