boostorg / yap

A C++14-and-later expression template library
https://boostorg.github.io/yap
Boost Software License 1.0
108 stars 28 forks source link

replace_placeholders usage #93

Closed pkeir closed 5 years ago

pkeir commented 5 years ago

I'd like to use replace_placeholders, but I can't manage a call to it without a compilation error. For example with GCC 8.3.0:

replace_placeholders( (1_p - 2_p) / 2_p, 3.0, 2.0 );

...produces a verbose message including 6 errors (listed below) relating to files within either yap or hana. I'm using yap 1.70 under 64-bit Ubuntu 19.04.

error: ‘value’ is not a member of ‘boost::yap::detail::rvalue_mover<true>’
error: ‘value’ is not a member of ‘boost::yap::detail::rvalue_mover<true>’
error: invalid use of void expression
error: ‘void transformed_tuple’ has incomplete type
error: invalid use of void expression
error: ‘void transformed_tuple’ has incomplete type
pkeir commented 5 years ago

This is fixed by PR 94.

tzlaine commented 5 years ago

PR applied, thanks again!