
25 Nov
2013
25 Nov
'13
7:15 a.m.
On 25/11/2013 18:51, Quoth Niall Douglas:
I'm fairly sure what Niall was proposing was a copyable object -- ie. basically the same semantics as the current proposed boost::type_index but storing data directly within rather than via indirection to boost::type_info, which would no longer exist.
Exactly right. Only thing missing is that I would have boost::type_index have sizeof=0 i.e. pure static data only.
I don't see how you can do that without making it a template, which would render it useless. But I'm willing to be enlightened. ;)