VSIPL 1.6 RTF Avatar
  1. OMG Issue

VSIPL16 — Fir<> copy ctor must be allowed to throw std::bad_alloc

  • Key: VSIPL16-11
  • Legacy Issue Number: 18206
  • Status: open  
  • Source: dpdx.net ( Brooks Moses)
  • 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.

  • Reported: VSIPL++ 1.2 — Tue, 23 Oct 2012 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT