logoalt Hacker News

moregristyesterday at 3:57 PM0 repliesview on HN

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.