This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/25185] deep typedef substitution in error message



------- Comment #16 from dave at boost-consulting dot com  2009-04-03 19:38 -------
(In reply to comment #13)
> GCC will now say
> 
> ../../../../boost/sequence/make_range.hpp:60:   instantiated from
> ?boost::sequence::detail::range_maker<Elements, Begin, End, CalcSize>::type
> boost::sequence::detail::range_maker<Elements, Begin, End,
> CalcSize>::operator()(const L&, const B&, const E&, const C&) const [with L =
> boost::sequence::intrinsic::iterator_range_operations<boost::array<char, 11u>,
> boost::range_iterator<boost::array<char, 11u> > >::elements::type, B = char*, E
> = char*, C = boost::sequence::detail::size_difference<boost::array<char, 11u>,
> const boost::array<char, 6u> >, Elements =
> boost::sequence::identity_property_map, Begin = char*, End = char*, CalcSize =
> boost::sequence::detail::size_difference<boost::array<char, 11u>,
> boost::array<char, 6u> >, typename boost::result_of<CalcSize()>::type =
> boost::detail::get_result_of<boost::sequence::detail::size_difference<boost::array<char,
> 11u>, boost::array<char, 6u> >,
> boost::sequence::detail::size_difference<boost::array<char, 11u>,
> boost::array<char, 6u> >(), true>::type]?
> 
> note the last piece,
> 
> typename boost::result_of<CalcSize()>::type =
> boost::detail::get_result_of<boost::sequence::detail::size_difference<boost::array<char,
> 11u>, boost::array<char, 6u> >,
> boost::sequence::detail::size_difference<boost::array<char, 11u>,
> boost::array<char, 6u> >(), true>::type

Hi Jason,

I'm afraid that's not an improvement.  It remains just as opaque as ever. 
Basically, I never want to see a type name ending with

  >::identifier

in error messages, or at least, I want a version where the canonical type name
is spelled out.


-- 

dave at boost-consulting dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25185


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]