id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13387,Test header fails to compile,Tony Lewis ,Raffi Enficiaud,"The Boost header policy (http://www.boost.org/development/header.html) requires: > Make sure that a translation unit consisting of just the contents of the header file will compile successfully. ...but compiling: {{{ #!cpp #include }}} ...gives errors... {{{ In file included from geoff.cpp:1:0: /tmp/test-develop/include/boost/test/data/test_case.hpp:198:18: error: ‘list’ in namespace ‘std’ does not name a template type mutable std::list m_test_cases; ^~~~ /tmp/test-develop/include/boost/test/data/test_case.hpp: In constructor ‘boost::unit_test::data::ds_detail::test_case_gen::test_case_gen(boost::unit_test::data::ds_detail::test_case_gen&&)’: /tmp/test-develop/include/boost/test/data/test_case.hpp:138:7: error: class ‘boost::unit_test::data::ds_detail::test_case_gen’ does not have any field named ‘m_test_cases’ , m_test_cases( std::move(gen.m_test_cases) ) ^~~~~~~~~~~~ /tmp/test-develop/include/boost/test/data/test_case.hpp: In member function ‘virtual boost::unit_test::test_unit* boost::unit_test::data::ds_detail::test_case_gen::next() const’: /tmp/test-develop/include/boost/test/data/test_case.hpp:153:13: error: ‘m_test_cases’ was not declared in this scope if( m_test_cases.empty() ) ^~~~~~~~~~~~ /tmp/test-develop/include/boost/test/data/test_case.hpp:156:26: error: ‘m_test_cases’ was not declared in this scope test_unit* res = m_test_cases.front(); ^~~~~~~~~~~~ /tmp/test-develop/include/boost/test/data/test_case.hpp: In member function ‘void boost::unit_test::data::ds_detail::test_case_gen::operator()(Arg&& ...) const’: /tmp/test-develop/include/boost/test/data/test_case.hpp:178:9: error: ‘m_test_cases’ was not declared in this scope m_test_cases.push_back( ^~~~~~~~~~~~ }}} This follows on from ticket:12228.",Bugs,closed,Boost 1.67.0,test,Boost Development Trunk,Problem,fixed,"test,header,data",