Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  22 Sep 2025, Konstantin Olchanski, Info, switch midas to c++17 
    Reply  23 Sep 2025, Pavel Murat, Info, switch midas to c++17 
       Reply  23 Sep 2025, Konstantin Olchanski, Info, switch midas to c++17 
          Reply  23 Sep 2025, Pavel Murat, Info, switch midas to c++17 
Message ID: 3095     Entry time: 23 Sep 2025     In reply to: 3093     Reply to this: 3096
Author: Konstantin Olchanski 
Topic: Info 
Subject: switch midas to c++17 
> perhaps c++20? - std::format is an immediately useful feature. --regards, Pasha

confirmed. std::format is an improvement over K&R C printf().

but seems unavailable on U-20 and older, requires --std=c++20 on U-24 and MacOS.

but also available as a standalone library: https://github.com/fmtlib/fmt

myself, I use printf() and msprintf(), I think std::format is in the "too little, too late to save C++" 
department.

K.O.
ELOG V3.1.4-2e1708b5