Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=912368&group_id=7586

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<
  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".

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=912368&group_id=7586

-------------------------------------------------------
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
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk