id summary reporter owner description type status milestone component version severity resolution keywords cc 1396 wrong result_of invocation around transform_view Shunsuke Sogame Joel de Guzman "See the following snippet. For some reason, `boost::result_of< ::identity(int) >` is invoked in `as_vector`, which means that the argument is rvalue. It should be `boost::result_of< ::identity(int &) >`. {{{ #include #include #include struct identity { template struct result; template struct result { typedef int& type; }; int& operator()(int& i) const { return i; } }; int main() { typedef boost::fusion::vector from_t; from_t from; boost::fusion::transform_view v(from, ::identity()); boost::fusion::as_vector(v); // doesn't compile. } }}}" Bugs new Boost 1.36.0 fusion Boost Development Trunk Problem