On Thu, 11 Mar 2021 at 09:15, kang hewill via Std-Proposals <std-proposals@lists.isocpp.org> wrote:

One of the approaches would be put  using std::literals::xxx_literals::operator""xxx; directly in their headers content:

I normally use 

using namespace std::literals;

Which covers strings and chrono types. There can be no clash with user-defined string literals, since they must always begin with an underscore (_).

So while many would consider it bad manners, it's not unreasonable to put this statement in a header file.