U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » Problem with FixedVectorMap/FixedArrayMap
Problem with FixedVectorMap/FixedArrayMap [message #51978] Sat, 29 June 2019 00:38 Go to previous message
Novo is currently offline  Novo
Messages: 1432
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
 
Read Message
Read Message
Previous Topic: Index<Vector<T>>
Next Topic: Sorting of strings is broken
Goto Forum:
  


Current Time: Mon Jun 15 01:16:26 GMT+2 2026

Total time taken to generate the page: 0.00504 seconds