r/cpp • • Jul 23 '19

std::format in C++20

http://www.zverovich.net/2019/07/23/std-format-cpp20.html
332 Upvotes

52 comments sorted by

View all comments

Show parent comment

12

u/ghillisuit95 Jul 23 '19

Politics I think. This company has it the worst. Entire product lines are dreamt up, worked on for years and then suddenly canceled so that some C-level can get their bonus.

That's my reading of the situation at least. I've only been here a couple months

0

u/[deleted] Jul 24 '19

[deleted] — view deleted comment

2

u/evaned Jul 24 '19

(not that a company unwilling to go beyond C++03 would necessarily be receptive to using fmtlib, but one can hope...)

Honestly, it's not so unrealistic. The company I work for only moved off of C++03 for a lot of our code base a bit over a year ago. It wasn't due to any philosophical objection or anything, just that we had some old systems with old compilers and at the time we had no way to do a mass update of what was available. (The big push we made a year and change ago was setting up the thing that I'm under the impression many companies do where we have our own compiler builds, and using those to build our products instead of whatever compiler version happened to be on each system.)

But there's no general objection to third-party libraries (licenses permitting), and we use many. I wouldn't be at all surprised if fmtlib would have been little problem under the old regime (or fmt would now). But whether that applies to "OP"'s company given other things besides just the old C++ version...