C++ Logo


Advanced search

Re: [std-proposals] Restrict what std::to_string may throw

From: Jan Schultke <janschultke_at_[hidden]>
Date: Fri, 8 Mar 2024 15:49:25 +0100
> I don't like the proposed change though, because using std::format
> directly is a pretty bad implementation (it adds a ton of overhead
> that isn't needed). As a specification for what it returns, it's fine.

I tend to agree. I've updated the proposal so that it now adds a
Throws specification instead.

Received on 2024-03-08 14:49:37