Home » U++ Library support » U++ Core » Please help! New transfer semantic issue!
Please help! New transfer semantic issue! [message #46161] |
Mon, 21 March 2016 12:36 |
|
Maybe problem is trivial, but I stopped on it.
There is class Line
class Line {
....
Line( Point p1, Point p2 ) // constructor
}
and class Figure
class Line {
public:
Array<Line> lines;
}
and if I use compiler option -std=c++11
I get error message while adding new Line to Lines
Without option -std=c++11 all OK.
What right way to do this with -std=c++11 option?
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
|
|
|
Goto Forum:
Current Time: Sat May 11 16:01:13 CEST 2024
Total time taken to generate the page: 0.03716 seconds
|