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 » Please help! New transfer semantic issue!
Re: Please help! New transfer semantic issue! [message #46171 is a reply to message #46169] Mon, 21 March 2016 22:48 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 527
Registered: March 2007
Contributor
Quote:

Error message is
 
required from 'T& Upp::Array<T>::Add(const T&) [with T = Line]'
error: use of deleted function 'Line::Line(const Line&)'



it appears that you have explicitly deleted copy ctor for Line class.

change the line to
     lines.AddPick(Line(p1,p2));

should fix your problem.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: conversion from String to wchar_t
Next Topic: How to handle a lack of memory
Goto Forum:
  


Current Time: Wed May 08 07:26:41 CEST 2024

Total time taken to generate the page: 0.01320 seconds