coin-or / OS

Optimization Services
Other
1 stars 4 forks source link

Many classes lack a method of performing a deep copy #48

Closed svigerske closed 5 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: walter

Original creation time: 2011-12-29 12:35:16

The OSInstance class contains pointers and the automatic copy and assignment operators will only perform a shallow copy.

svigerske commented 5 years ago

Comment by @h-i-gassmann created at 2012-01-16 02:19:26

OSInstance, OSOption and OSResult have get() and set() methods that can be used to duplicate each object. For an example see the unit test (test/unitTest.cpp).

svigerske commented 5 years ago

Comment by @h-i-gassmann created at 2012-01-16 02:19:45

Set assignee to @h-i-gassmann.

svigerske commented 5 years ago

Comment by @h-i-gassmann created at 2012-01-16 02:20:31

Changing status from new to assigned.

svigerske commented 5 years ago

Comment by @h-i-gassmann created at 2012-01-16 02:20:50

Resolution: wontfix