Boost logo

Boost :

From: Paul O'Neill (oneill1979_at_[hidden])
Date: 2006-12-21 16:44:21


The map & set documentation all refer to the method "at" as having a default
return value if no match is found, however I can only get the version
without a default to compile and a look at the source at.hpp seems to
indicate this is not implemented. Any help would be greatly appreciated.

boost_1_33_1/libs/mpl/doc/refmanual/associative-sequence.html

at<s,k>::type - works
at<s,k,def>::type - does not compile (msvc8.0)

Many thanks, Paul.


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