[mpl] at for set and map does not match documentation

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.

Hi Paul,
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.
You are right; this is a known issue in wait of a fix/patch: http://thread.gmane.org/gmane.comp.lib.boost.user/9597 HTH, -- Aleksey Gurtovoy MetaCommunications Engineering
participants (2)
-
Aleksey Gurtovoy
-
Paul O'Neill