Subject: [Boost-bugs] [Boost C++ Libraries] #6793: Support construction from range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-14 20:46:23
#6793: Support construction from range
------------------------------------------------------+---------------------
Reporter: Olaf van der Spek <olafvdspek@â¦> | Owner: marshall
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: array
Version: Boost 1.49.0 | Severity: Problem
Keywords: |
------------------------------------------------------+---------------------
Could you support construction from a range and from an iterator pair?
I don't know what to do when the input doesn't match the array size. If
it's smaller you could default construct the rest of the array. If it's
larger, you could truncate, std::terminate() or throw.
Or just consider it undefined behaviour.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6793> 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:09 UTC