Re: [Boost-bugs] [Boost C++ Libraries] #6793: Support construction from range

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6793: Support construction from range
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-17 17:21:00

#6793: Support construction from range
  Reporter: Olaf van der Spek <olafvdspek@…> | Owner: marshall
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: array
   Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
Changes (by marshall):

  * status: new => assigned


 It seems to me that `make_array` would require either (a) returning the
 array by value (copying or depending on RVO), or passing in the
 destination array by reference (which means you have to construct it

 In either case, I don't see a compelling need, when compared to:
 boost::array<T, N> arr;
 std::copy ( iter1, iter2, arr.begin ());

 Can you show me an example where `make_array` would be a significant
 improvement? Thanks!

Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

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