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

I prefer to put the `using` in the block where you need the std::chrono code, which keeps it local and tidy. Putting it in a header is declaring a global type and asking for trouble; at least bound it in a namespace or a class.




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

Search: