id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5875,local variable in phoenix let discards value,Lars Viklund ,Thomas Heller,"In the following test case, the size of the vector is zero, while it should be three as that's what the vector is constructed with. {{{#!c++ #include #include #include namespace phx = boost::phoenix; int main() { std::vector v = phx::let(phx::local_names::_a = std::vector(3)) [ phx::local_names::_a ] (); std::cerr << v.size() << std::endl; } }}} If the local is used in a non-trivial way in the let block, the vector will be properly initialized.",Bugs,closed,To Be Determined,phoenix,Boost Development Trunk,Problem,fixed,phoenix local let,