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 » U++ Library support » U++ Core » C2280 with Vector
C2280 with Vector [message #52486] Mon, 07 October 2019 15:05 Go to next message
idzeta is currently offline  idzeta
Messages: 2
Registered: October 2019
Junior Member
When I was trying to build the FormEditor example (upp-win-13618 + MSVS19 Debug), I got:
upp\uppsrc\Core\Vcont.h (132): error C2280: "Upp::Vector<Upp::String>::Vector(const Upp::Vector<Upp::String> &)": attempting to reference a deleted function

It seems to me that Vector has a user-defined move ctor, which makes the compiler delete the default copy ctor and results in the error.
Re: C2280 with Vector [message #52489 is a reply to message #52486] Tue, 08 October 2019 09:55 Go to previous message
koldo is currently offline  koldo
Messages: 3004
Registered: August 2008
Ultimate Member
The problem cause is in files FormEditor/EditColumns.hpp line 71 and FormEditor/EditTabs.hpp line 63, were a similar structure is used:

VectorMap<int, Vector<String> > cache;
...
Vector<String> values;
...
cache.GetAdd(i, values);


Best regards
IƱaki
Previous Topic: FileSize
Next Topic: BETA status handling
Goto Forum:
  


Current Time: Thu Oct 17 13:09:31 CEST 2019

Total time taken to generate the page: 0.01104 seconds