Opened 19 years ago

Closed 17 years ago

#243 closed Bugs (Fixed)

boost::tokenizer implicit typename

Reported by: ravnsgaard Owned by: Markus Schöpflin
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

boost::tokenizer gives warnings on gcc 3.3.1 (MinGW
build) about implicit typenames in two typedefs in
offset_separator::operator() and
char_separator::operator(). Both typedefs look like:

typedef tokenizer_detail::assign_or_plus_equal<
  tokenizer_detail::get_iterator_category<
  InputIterator>::iterator_category> assigner;

I changed them to:

typedef tokenizer_detail::assign_or_plus_equal<
  typename tokenizer_detail::get_iterator_category<
  InputIterator>::iterator_category> assigner;

I.e. I added a "typename" keyword inside the typedef.
g++ warned that "Implicit typename is deprecated".



Change History (1)

comment:1 by Markus Schöpflin, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=91733

This has been fixed by Beman with revision 1.24. Therefore
closing this bug.
Note: See TracTickets for help on using tickets.