Jay Pipes wrote:
> Hi all,
> 
> Monty recently brought up a good discussion/vote point on a merge
> proposal from Padraig, and I think I like his idea.  Just want to get
> everyone's opinion on this and then we can add it to the style
> guidelines online...
> 
> Basically, the rule would be:
> 
> When in a *header file*, always use an explicit namespace prefix, like so:
> 
> void myfunc(std::list some_list, drizzle::serialize::Table *some_table)
> {
>   // blah, blah...
> }
> 
> and in implementation files, use a single using namespace statement,
> like so:
> 
> using namespace std;
> using namespace drizzle::serialize;
> 
> void myfunc(list some_list, Table some_table)
> {
>   // blah, blah
> }
> 
> Opinions?

++

:)

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to