Boost logo

Boost :

From: Mat Marcus (mmarcus_at_[hidden])
Date: 2001-12-11 18:54:43


Sorry about the bugs in that last post:

1.) David: I'm really sorry I cited all your comments as Mark!
I'm a new emacs/supercite user...

2.) I left off the description of one current VC6 metaprogramming
stumbling block.

The definition below from a previous post:

template <int N, class TList, class Unit>
inline typename ::boost::mpl::unary_function<Unit,
  typename boost::mpl::at<N, TList>::type>::type&
Fields(typename GenScatterHierarchy<TList, Unit>& obj){/*...*/}

Fails to compile under VC6 with errors beginning with:

        error C2039: 'type' : is not a member of 'at<N,Sequence>'

VC7 beta 2 simply gives up with an internal compiler error.

 - Mat


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