Issue 18206: Fir<> copy ctor must be allowed to throw std::bad_alloc (vsiplxx-rtf) Source: (Mr. Brooks Moses, brooks.moses(at)dpdx.net) Nature: Revision Severity: Minor Summary: The Fir<> copy constructor is declared "VSIP_NOTHROW". This is erroneous and should instead be "VSIP_THROW((std::bad_alloc))", because the copied Fir<> object must not share the storage allocated by the source instance (in case the source is destroyed). The same error applies to Convolution<>, Correlation<>, and potentially others. Resolution: In the interest of closing the current RTF so that the solutions to resolved issues can be made publically available, this issue is deferred to the next RTF. Disposition: Deferred Revised Text: Actions taken: October 23, 2012: received issue Discussion: End of Annotations:===== te: Tue, 23 Oct 2012 11:24:08 -0700 From: Brooks Moses User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 To: Subject: VSIPL++ issue (#12 from me) X-OriginalArrivalTime: 23 Oct 2012 18:24:08.0671 (UTC) FILETIME=[978A76F0:01CDB14B] Name: Brooks Moses Employer: Mentor Graphics mailFrom: brooks_moses@mentor.com Terms_Agreement: I agree Specification: VSIPL++ Section: 13.7 [signal.fir] FormalNumber: ptc/2012-07-27 Version: 1.2 - FTF Beta 1 Doc_Year: 2012 Doc_Month: August Doc_Day: 10 Page: 217 Title: Fir<> copy ctor must be allowed to throw std::bad_alloc Nature: Bug Severity: Minor B1: Report Issue Description: The Fir<> copy constructor is declared "VSIP_NOTHROW". This is erroneous and should instead be "VSIP_THROW((std::bad_alloc))", because the copied Fir<> object must not share the storage allocated by the source instance (in case the source is destroyed). The same error applies to Convolution<>, Correlation<>, and potentially others.