
24 May
2012
24 May
'12
11:21 p.m.
Steven Watanabe <watanabesj <at> gmail.com> writes:
AMDG
I'd like to request a formal review of the TypeErasure library that I've posted about several times before here.
The TypeErasure library is a generalization of boost::any and boost::function. It allows easy composition of arbitrary type erased operators.
This library is indeed very interesting. From a quick look at some of the documentation, I have just one initial comment: I believe it is a mistake to "propagate constness" for "any"s that capture references, as that is inconsistent with normal C++ semantics and it leads to a situation of trying to fight the C++ type system rather than work with it.