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 » Error: use of deleted function ...
Error: use of deleted function ... [message #49205] Sun, 07 January 2018 15:48 Go to previous message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Dears,
I'm here back to you after long time without coding and without UPP Sad because I have to modify my little software

I just made the following steps:
-I re-installed UPP (latest Nightly builds from website);
-I set up my old assembly;
-I tryed to compile it (both debug/release mode);

but i receive the following errors:
C:\Users\Matteo\Dropbox\2_Sviluppo++\Workspace_upp\LibVerifi che\Layout.h (147): error: use of deleted function 'Relazione::RelazioneFormat& Relazione::RelazioneFormat::operator=(const Relazione::RelazioneFormat&)'
C:\Users\Matteo\Dropbox\2_Sviluppo++\Workspace_upp\LibVerifi che\Materiali.cpp (1): In file included from C:\Users\Matteo\Dropbox\2_Sviluppo++\Workspace_upp\LibVerifi che\Materiali.cpp:1:0:
C:\Users\Matteo\Dropbox\2_Sviluppo++\Workspace_upp\LibVerifi che\Layout.h (136): note: 'Relazione::RelazioneFormat& Relazione::RelazioneFormat::operator=(const Relazione::RelazioneFormat&)' is implicitly
deleted because the default definition would be ill-formed:
...

Can you help me to undestand what is happinging please?

here is the code about class Relazioni()

class Relazione {
public:
	class RelazioneFormat : public Moveable<RelazioneFormat> {
		public:
			String Titolo;
			String IconaTitolo;
			Vector<String> Corpo;
			RelazioneFormat();
	};
private:
	RelazioneFormat format;

public:
	Relazione &Clear() 			{ RelazioneFormat f; format = f; return *this;}
	Relazione &Titolo(String s = "")	{ format.Titolo = s; return *this; }
	Relazione &Icona(String s = "")		{ format.IconaTitolo = s; return *this; }
	Relazione &AddCorpo(String s = "")	{ format.Corpo.Add(s); return *this; }
	Relazione &NewLine()			{ format.Corpo.Add("&"); return *this; }

	String GeneraRelazione();

	typedef Relazione CLASSNAME;
	Relazione(){};
};


thank you and happy new year!

Regards,
Matteo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Accessing Index structure elements
Next Topic: build methods
Goto Forum:
  


Current Time: Fri Jul 18 10:08:13 CEST 2025

Total time taken to generate the page: 0.04250 seconds