Opened 12 years ago
Closed 12 years ago
#4444 closed Bugs (duplicate)
[fusion]joint_view no copy CTOR contrary to doc
Reported by: | Owned by: | Joel de Guzman | |
---|---|---|---|
Milestone: | Boost 1.44.0 | Component: | fusion |
Version: | Boost 1.44.0 | Severity: | Problem |
Keywords: | Cc: |
Description
http://svn.boost.org/svn/boost/trunk/boost/fusion/view/joint_view/joint_view.hpp
shows no copy CTOR despite the claim:
JV(jv)
Copy constructs a joint_view from another joint_view, jv.
from:
http://www.boost.org/doc/libs/1_43_0/libs/fusion/doc/html/fusion/view/joint_view.html
Attachments (2)
Change History (6)
by , 12 years ago
Attachment: | seq_push_back.cpp added |
---|
by , 12 years ago
Attachment: | seq_push_back.compilation added |
---|
compilation of seq_pushback.cpp attachment
comment:1 by , 12 years ago
It may seem like the compiler would generate a copy CTOR; however, compilation of the seq_push_back.cpp attachment give the compile errors shown in the seq_push_back.compilation attachment.
comment:2 by , 12 years ago
The reformatted error message in compilation attachment is:
seq_push_back.cpp:48: error: No match for ' boost::fusion::joint_view < boost::fusion::list
< boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_
, const boost::fusion::single_view<int>
::joint_view
( boost::fusion::joint_view
< const boost::fusion::list
< boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_ , boost::fusion::void_, boost::fusion::void_
, const boost::fusion::single_view<int>
)'
which shows the copy CTOR was not used because it didn't match the 'const list<...>' part of the argument. Maybe the problem is with the result_of<push_back<,> >::type?
comment:3 by , 12 years ago
The problem has already been reported here:
https://svn.boost.org/trac/boost/ticket/3358
Thanks to Christopher Schmidt for pointing this out:
comment:4 by , 12 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
source file