| 44 | // a diagnostic. |
| 45 | template<typename Context, typename Iter> |
| 46 | void diagnose( |
| 47 | bp::diagnostic_kind kind, |
| 48 | std::string_view message, |
| 49 | Context const & context, |
| 50 | Iter it) const |
| 51 | { |
| 52 | bp::write_formatted_message( |
| 53 | ofs_, |
| 54 | filename_, |
| 55 | bp::_begin(context), |
| 56 | it, |
| 57 | bp::_end(context), |
| 58 | message); |
| 59 | } |
| 60 | |
| 61 | // This is just like the other overload of diagnose(), except that it |
| 62 | // determines the Iter parameter for the other overload by calling |