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 » Problem with FixedVectorMap/FixedArrayMap
Problem with FixedVectorMap/FixedArrayMap [message #51978] Sat, 29 June 2019 00:38 Go to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
CONSOLE_APP_MAIN
{
	FixedVectorMap<int, int> m;
	// FixedArrayMap<int, int> m;
	m.Add(1, 1);
	m.Add(2, 2);
	m.Finish();
	SortByKey(m);
}

FixedMap.h:55:56: error: call to implicitly-deleted copy constructor of 'Upp::Vector<in
    t>'
        FixedAMap(Vector<K>&& key, V&& val) : key(pick(key)), value(val) {}
                                                              ^     ~~~



Regards,
Novo
Re: Problem with FixedVectorMap/FixedArrayMap [message #51979 is a reply to message #51978] Sat, 29 June 2019 08:47 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thank you, fixed.
Previous Topic: Index<Vector<T>>
Next Topic: Sorting of strings is broken
Goto Forum:
  


Current Time: Thu Apr 18 06:58:07 CEST 2024

Total time taken to generate the page: 0.02245 seconds