Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In an actual .cpp compilation unit, I'd probably write it like that.

In a header it's generally advised to not add using namespaces.

However, I appreciate the grandparent comment including the namespaces in the example, so I can see exactly where things are coming from.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: