[Boost-bugs] [Boost C++ Libraries] #12445: static_vector is not noexcept

Subject: [Boost-bugs] [Boost C++ Libraries] #12445: static_vector is not noexcept
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-10 05:56:19

#12445: static_vector is not noexcept
 Reporter: psiha | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: container
  Version: Boost 1.61.0 | Severity: Optimization
 Keywords: |
 Resizing operations on static_vector completely delegate to the
 corresponding generic vector functionality which throws bad_alloc when the
 allocator returns null/runs out of storage.
 This is a bug which defeats the idea of static_vector as a lightweight
 wrapper around std::array, I don't want EH code generated for
 static_vectors. Just like array asserts on out-of-bounds access, so should
 static_vector (i.e. trying to resize a fixed capacity container beyond its
 capacity is a programming error).

Ticket URL: <https://svn.boost.org/trac/boost/ticket/12445>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC