C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Colored printing for std::print and std::println

From: Henrik Nyhammer <hsn95_at_[hidden]>
Date: Mon, 20 May 2024 22:52:50 +0000
Yeah, you're right. That argument is pretty weak and was unnecessary to bring up here. Although I think 3rd party libraries is a hassle in C++ as things are today, eliminating the use for them in the first place should ofcourse not be the goal. Instead it would be nice to see some development go towards standardizing the ecosystem.

________________________________
Fra: Jonathan Wakely <cxx_at_[hidden]>
Sendt: mandag 20. mai 2024 20:58
Til: std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Kopi: Jan Schultke <janschultke_at_[hidden]>; Henrik Nyhammer <hsn95_at_[hidden]>
Emne: Re: [std-proposals] Colored printing for std::print and std::println



On Mon, 20 May 2024 at 18:23, Henrik Nyhammer via Std-Proposals <std-proposals_at_[hidden]<mailto:std-proposals_at_[hidden]>> wrote:
And without it you're left with resorting to 3rd-parties as soon as you want to do something slightly more fancy in your console application, which is a small hassle in itself, and the 3rd-party library may be implemented in a way that does not work well with a lot of consoles out there anyway, like using ANSI escape sequences.

Without expressing an opinion on the rest of the proposal, "using 3rd party libraries is a hassle" is a poor reason to add something to the standard library. By that argument, *everything* should be in the standard.





Received on 2024-05-20 22:52:56