Subject: [Boost-bugs] [Boost C++ Libraries] #3337: mpl::has_push_back_arg/mpl:::has_push_front_arg are incomplete types
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-11 17:55:50
#3337: mpl::has_push_back_arg/mpl:::has_push_front_arg are incomplete types
-------------------------------------+--------------------------------------
Reporter: cschmidt | Owner: agurtovoy
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: mpl
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
boost::mpl::has_push_back_arg
([https://svn.boost.org/trac/boost/browser/trunk/boost/mpl/aux_/push_back_impl.hpp?rev=54948#L28])
and boost::mpl::push_front_arg
([https://svn.boost.org/trac/boost/browser/trunk/boost/mpl/aux_/push_front_impl.hpp?rev=54948#L28])
are both declared but not defined.
This leads to a compiler error when using mpl::has_push_back
([https://svn.boost.org/trac/boost/browser/trunk/boost/mpl/push_back.hpp?rev=54948#L40])
/ mpl::has_push_front
([https://svn.boost.org/trac/boost/browser/trunk/boost/mpl/push_front.hpp?rev=54948#L40])
on a mpl sequence (to be precise a fusion sequence) which needs complete
'argument' types when being instanced.
Minimal testcase:[[BR]]
#include <boost/mpl/transform.hpp>[[BR]]
#include <boost/mpl/placeholders.hpp>[[BR]]
#include <boost/fusion/container/vector.hpp>[[BR]]
#include <boost/fusion/mpl.hpp>[[BR]]
boost::mpl::transform<boost::fusion::vector<>,boost::mpl::_1>::type t;
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3337> 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:01 UTC