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 » Community » Newbie corner » MoveableAndDeepCopyOption inherite to use a VectorMap ?
MoveableAndDeepCopyOption inherite to use a VectorMap ? [message #50384] Mon, 08 October 2018 12:13
Xemuth is currently offline  Xemuth
Messages: 22
Registered: August 2018
Location: France
Promising Member
Hello there !

Today, once again, I got a probleme with one of my object :

class Parking : public Upp::MoveableAndDeepCopyOption<Parking> { //I'd try with Upp::Moveable<Parking>
	private:
           ...
           Upp::VectorMap<Upp::String, Upp::String> mesTarif;
           ...
};


C:\Users\Administrateur.WINDOWS-060HJTR\Desktop\upp/uppsrc/C ore/Vcont.h (98): required from 'T& Upp::Vector<T>::Add(const T&) [with T = Parking]'
C:\Users\Administrateur.WINDOWS-060HJTR\Desktop\upp/uppsrc/C ore/Core.h (272): In file included from C:\Users\Administrateur.WINDOWS-060HJTR\Desktop\upp/uppsrc/C ore/Core.h:272:0,
C:\Users\Administrateur.WINDOWS-060HJTR\Desktop\upp\MyApps\T inyWebServer\TinyWebServer.cpp (1): from C:\Users\Administrateur.WINDOWS-060HJTR\Desktop\upp\MyApps\T inyWebServer\TinyWebServer.cpp:1:
C:\Users\Administrateur.WINDOWS-060HJTR\Desktop\upp\MyApps\T inyWebServer\TinyWebServer.cpp (543): required from here
C:\Users\Administrateur.WINDOWS-060HJTR\Desktop\upp/uppsrc/C ore/Topt.h (225): error: no matching function for call to 'Parking::Parking(const Parking&, int)'


My Vector map raise error on compilation even with MoveableAndDeepCopyOption/Moveable.
Can someone explain me how can I fix this error ? and why it occure ?

Thanks in advance.

have good day !
Previous Topic: Casting from std::string to String
Next Topic: GridCtrl + rich texts
Goto Forum:
  


Current Time: Sat Feb 16 16:44:55 CET 2019

Total time taken to generate the page: 0.00618 seconds