
2 Feb
2007
2 Feb
'07
1:46 a.m.
AMDG Alexander Nasonov wrote:
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? I'm not quite sure how what you are doing helps. typename is required inside a template and illegal outside of one.
In Christ, Steven Watanabe