Subject: [Boost-bugs] [Boost C++ Libraries] #12003: Implement is_constrructible<T, U> -- no variadics
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-19 00:05:51
#12003: Implement is_constrructible<T, U> -- no variadics
------------------------------+-------------------------
Reporter: akrzemi1 | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
Version: Boost 1.61.0 | Severity: Problem
Keywords: |
------------------------------+-------------------------
In the current implementation of trait boost::is_constructible, unless the
compiler offers variadic templates (and some more), is implemented as
boost::is_convertible, and that's it.
I understand the limitations, but would it be possible to provide a more
accurate version for the case with exactly two parameters:
boost::is_constructible<T, U>. This would check the construction with a
single argument, so it does not require variadic templates, and it would
cover a significant number of use cases. For instance it would unblock my
ticket:
https://svn.boost.org/trac/boost/ticket/12002
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12003> 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