Home » U++ Library support » U++ Library : Other (not classified elsewhere) » I request the implementation of callback5
Re: I request the implementation of callback5 [message #49852 is a reply to message #49846] |
Fri, 18 May 2018 14:50  |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
aftershock wrote on Wed, 16 May 2018 23:26No, moving does not work...
D:\m\upp\tradetester\main.cpp(1717): error C2280: 'Upp::VectorMap<Upp::String,double>::VectorMap(const Upp::VectorMap<Upp::String,double> &)': attempting to reference a deleted fu
nction
d:\upp-mingw-11873\upp\uppsrc\core\Map.h(237): note: compiler has generated 'Upp::VectorMap<Upp::String,double>::VectorMap' here
d:\upp-mingw-11873\upp\uppsrc\core\Map.h(237): note: 'Upp::VectorMap<Upp::String,double>::VectorMap(const Upp::VectorMap<Upp::String,double> &)': function was implicitly deleted b
ecause a base class invokes a deleted or inaccessible function 'Upp::AMap<K,T,Upp::Vector<T>>::AMap(const Upp::AMap<K,T,Upp::Vector<T>> &)'
with
[
K=Upp::String,
T=double
]
d:\upp-mingw-11873\upp\uppsrc\core\Map.h(215): note: 'Upp::AMap<K,T,Upp::Vector<T>>::AMap(const Upp::AMap<K,T,Upp::Vector<T>> &)': function was implicitly deleted because a data m
ember invokes a deleted or inaccessible function 'Upp::Index<Upp::String>::Index(const Upp::Index<Upp::String> &)'
with
[
K=Upp::String,
T=double
]
d:\upp-mingw-11873\upp\uppsrc\core\Index.h(222): note: 'Upp::Index<Upp::String>::Index(const Upp::Index<Upp::String> &)': function was implicitly deleted because 'Upp::Index<Upp::
String>' has a user-defined move constructor
Hard to say without seeing the code....
The example Oblivion has posted is correct and addresses exactly this issue.
Mirek
|
|
|
Goto Forum:
Current Time: Sat Aug 23 10:50:44 CEST 2025
Total time taken to generate the page: 0.04376 seconds
|