| 80 | } |
| 81 | |
| 82 | shared_ptr<error_info_base> |
| 83 | get( type_info_ const & ti ) const |
| 84 | { |
| 85 | error_info_map::const_iterator i=info_.find(ti); |
| 86 | if( info_.end()!=i ) |
| 87 | { |
| 88 | shared_ptr<error_info_base> const & p = i->second; |
| 89 | return p; |
| 90 | } |
| 91 | return shared_ptr<error_info_base>(); |
| 92 | } |
| 93 | |
| 94 | char const * |
| 95 | diagnostic_information( char const * header ) const |
no test coverage detected