id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 5958,Passing an argument of non-POD class type boost::match_results through ellipsis,"""LeJacq Jean Pierre"" ",John Maddock,"boost::regex_replace() is implemented using the any_type struct that has a single constructor that has ellipsis as the argument type. The non-POD type boost::match_results is passed to the any_type constructor. I believe this violates the standard (section 5.2.2 para 7. In particular, ""If the argument has a non-POD class type (clause 9), the behavior is undefined."" This issue was detected with the IBM compiler XL C/C++ 11.1.0.3 with the following diagnostic: ""boost/regex/v4/regex_format.hpp"", line 912.67: 1540-2924 (W) Cannot pass an argument of non-POD class type ""boost::match_results,std::allocator > > >"" through ellipsis. ""boost/regex/v4/regex_format.hpp"", line 912.73: 1540-2924 (W) Cannot pass an argument of non-POD class type ""boost::match_results,std::allocator > > >"" through ellipsis. ""boost/regex/v4/regex_format.hpp"", line 912.76: 1540-2924 (W) Cannot pass an argument of non-POD class type ""boost::re_detail::string_out_iterator,std::allocator > >"" through ellipsis. ""boost/regex/v4/regex_format.hpp"", line 912.84: 1540-2924 (W) Cannot pass an argument of non-POD class type ""boost::match_results,std::allocator > > >"" through ellipsis. ""boost/regex/v4/regex_format.hpp"", line 912.87: 1540-2924 (W) Cannot pass an argument of non-POD class type ""boost::re_detail::string_out_iterator,std::allocator > >"" through ellipsis. ",Bugs,closed,To Be Determined,regex,Boost 1.47.0,Problem,fixed,POD,