Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2008-02-13 11:50:48


 

>-----Original Message-----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Martin Bonner
>Sent: 13 February 2008 10:36
>To: boost_at_[hidden]
>Subject: Re: [boost] Switch namespace
>
>----Original Message----
>From: boost-bounces_at_[hidden]
>[mailto:boost-bounces_at_[hidden]] On Behalf Of Dizzy Sent: 13
>February 2008 10:03 To: boost_at_[hidden]
>Subject: Re: [boost] Switch namespace
>
>> On Wednesday 13 February 2008 11:53:40 Martin Bonner wrote:
>>> From: Steven Watanabe
>>>
>>>> I'm not sure what namespace to use for switch.
>>>>
>>>> Since there will be more than just the single function template,
>>>> switch_, I don't really want to put it directly in namespace boost.
>>>
>>> I agree.
>>>
>>>> adding an 's' to make namespace switches sounds a little odd.
>>>> Any suggestions?
>>>
>>> boost::switch ? My understanding is that some compilers have
>>> problems with with boost::switch_::switch_, but
>>> boost::switch::switch_ ought to be fine.
>>
>> But "switch" is a keyword so you can't use it for namespace names.
>
>[Smacks hand against forehead] D'oh!
>
>Of course. (I can only hope that is the stupidest thing I say this
>month - I /really/ don't want to say something stupider than that!)

LOL!

How about 'case'? Oops no ;-))

Or perhaps 'namespace cases' might be a bit better?

There is only one switch but multiple cases?

Paul

---
Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS
pbristow_at_[hidden]
 

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