Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2003-09-25 03:31:42


Bugs item #812263, was opened at 2003-09-25 10:31
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=812263&group_id=7586

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hans-Friedrich Pabst (hfp)
Assigned to: Nobody/Anonymous (nobody)
Summary: mpl::select2nd on vc6

Initial Comment:
The embedded typedef:

typedef typename Pair::second type;

inside the struct select2nd<> fails to compile with the

STL bundled with vc6.

This behaviour should the same with each conform STL.

The expression should be better:

typedef typename Pair::second_type type;

The error come with following simple example:

#include <boost/mpl/select2nd.hpp>

...

boost::mpl::select2nd<std::pair<int, int> >();

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

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

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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