
14 Jun
2009
14 Jun
'09
7:24 p.m.
Sohail Somani:
Peter Dimov wrote:
Sohail Somani:
Anyway, isn't boost::placeholders too presumptuous?
std::bind's placeholders are defined in namespace std::placeholders.
Those placeholders are really limited and as far as I can tell it would be tough to make them the foundation of anything except bind-like stuff.
If you were to have (say) phoenix placeholders in boost::placeholders, you could still implement bind but the rest of the libraries could use the extra functionality.
That is all very well but doesn't make it quite clear to me what do you suggest. Not move bind's placeholders and leave them global? Move them to a namespace other than boost::placeholders? Something else entirely?