Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-03-08 18:46:10

Bugs item #912368, was opened at 2004-03-09 00:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Ravnsgaard Riis (ravnsgaard)
Assigned to: Nobody/Anonymous (nobody)
Summary: boost::tokenizer implicit typename

Initial Comment:
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<
  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".


You can respond by visiting:

This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at