id summary reporter owner description type status milestone component version severity resolution keywords cc 10844 flyweight: multiple default constructors with real perfect forwarding tore.halvorsen@… Joaquín M López Muñoz "Flyweight gets two default constructors, since it has a direct default constructor {{{ flyweight():h(core::insert()){} }}} and one based on variable template arguments, which can be zero. {{{ #define BOOST_FLYWEIGHT_PERFECT_FWD_CTR_BODY(args) \ :h(core::insert(BOOST_FLYWEIGHT_FORWARD(args))){} BOOST_FLYWEIGHT_PERFECT_FWD_WITH_ARGS( explicit flyweight, BOOST_FLYWEIGHT_PERFECT_FWD_CTR_BODY) #undef BOOST_FLYWEIGHT_PERFECT_FWD_CTR_BODY }}} which can expand to: {{{ template explicit flyweight(Args&&... args) :h(core::insert(std::forward(args)...)){} }}} " Bugs closed To Be Determined flyweight Boost 1.57.0 Cosmetic fixed