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++ Library : Other (not classified elsewhere) » vectormap exampe is not working anymore
vectormap exampe is not working anymore [message #58382] Sun, 15 May 2022 13:23 Go to previous message
aftershock is currently offline  aftershock
Messages: 143
Registered: May 2008
Experienced Member
Hi,

Something changed. If it is a bug or it is not I do not know.

The following definition does not work any more.


VectorMap<int64_t, Vector<Value> > cache;
I compiled it with msc19 x64.

Error is :
D:\upp16236\uppsrc\Core\Vcont.h(195): error C2280: 'Upp::Vector<Upp::Value>::Vector(const Upp::Vector<Upp::Value> &)': attempting to reference a deleted f
unction
D:\upp16236\uppsrc\Core\Vcont.h(326): note: compiler has generated 'Upp::Vector<Upp::Value>::Vector' here
D:\upp16236\uppsrc\Core\Vcont.h(326): note: 'Upp::Vector<Upp::Value>::Vector(const Upp::Vector<Upp::Value> &)': function was implicitly deleted because 'U
pp::Vector<Upp::Value>' has a user-defined move constructor
D:\upp16236\uppsrc\Core\Vcont.h(195): note: while compiling class template member function 'T &Upp::Vector<T>::Add(const T &)'
with
[
T=Upp::Vector<Upp::Value>
]
D:\upp16236\uppsrc\Core\Map.hpp(12): note: see reference to function template instantiation 'T &Upp::Vector<T>::Add(const T &)' being compiled
with
[
T=Upp::Vector<Upp::Value>
]
D:\upp16236\uppsrc\Core\Map.h(36): note: see reference to class template instantiation 'Upp::Vector<Upp::Vector<Upp::Value>>' being compiled
D:\upp16236\uppsrc\Core\Map.h(227): note: see reference to class template instantiation 'Upp::AMap<K,T,Upp::Vector<T>>' being compiled
with
[
K=int64_t,
T=Upp::Vector<Upp::Value>
]
D:\m\upp\tradetester\idatabase.h(16): note: see reference to class template instantiation 'Upp::VectorMap<int64_t,Upp::Vector<Upp::Value>>' being compiled



Can you fix this or provide a solution?
Tnanks.

A.

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: SSL and USEMALLOC
Next Topic: Windows 11 - Menubar issues
Goto Forum:
  


Current Time: Sat May 18 00:28:59 CEST 2024

Total time taken to generate the page: 0.02312 seconds