|
Boost : |
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2007-02-01 17:23:40
TPL suffixes are sometimes inconvenient. I implemented a wrapper
that derives from BOOST_TYPEOF(wrap(something)) in emulation mode.
The wrap function is
template<class T> mpl::identity<T> wrap(T&);
It's somewhat similar to BOOST_TYPEOF_NESTED_TYPEDEF but not a
replacement for it. Is there any interest in my idea?
BTW, BOOST_TYPEOF_NESTED_TYPEDEF cannot be used at function/block
scope but this fact is not documented.
-- Alexander Nasonov http://nasonov.blogspot.com Good manners will open doors that the best education cannot. -- Clarence Thomas -- This quote is generated by: /usr/pkg/bin/curl -L http://tinyurl.com/veusy \ | sed -e 's/^document\.write(.//' -e 's/.);$/ --/' \ -e 's/<[^>]*>//g' -e 's/^More quotes from //' \ | fmt | tee ~/.signature-quote
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk