|
Boost : |
From: Dizzy (dizzy_at_[hidden])
Date: 2008-02-13 05:02:48
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.
-- Mihai RUSU Email: dizzy_at_[hidden] "Linux is obsolete" -- AST
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk