Re: [Boost-bugs] [Boost C++ Libraries] #11867: small_vector should have constructor and assignment operator taking other small_vector

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11867: small_vector should have constructor and assignment operator taking other small_vector
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-24 11:14:17


#11867: small_vector should have constructor and assignment operator taking other
small_vector
-------------------------------+------------------------
  Reporter: cornedbee | Owner: igaztanaga
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.60.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by igaztanaga):

 Maybe not from small_vector<T, M> but from small_vector_base, which might
 be more flexible.

 LLVM's SmallVector, which is the inspiration for small_vector, supports
 only move construction and assignment from SmallVectorImpl, I can't figure
 out why copy construction is not supported:

 http://llvm.org/docs/doxygen/html/classllvm_1_1SmallVector.html

 Thanks for the report.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11867#comment:1>
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:19 UTC