Boost logo

Boost :

Subject: Re: [boost] Removing Bind placeholders from the global namespace
From: Sohail Somani (sohail_at_[hidden])
Date: 2009-06-14 12:18:14


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.

-- 
Sohail Somani
http://uint32t.blogspot.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk