AcademySoftwareFoundation / OpenImageIO

Reading, writing, and processing images in a wide variety of file formats, using a format-agnostic API, aimed at VFX applications.
https://openimageio.readthedocs.org
Apache License 2.0
1.98k stars 597 forks source link

api: Change Strutil::format to default to std::format conventions #4480

Closed lgritz closed 1 month ago

lgritz commented 1 month ago

This finally switches Strutil::format to use std::format conventions. You can still access the old printf convention via Strutil::old::format(), and can explicitly access the new convention uniformly on both 2.x and 3.x via Strutil::fmt::format().

It also removes a long-deprecated vformat function.

We've been waiting for 3.0 to make this non-back-compatible change.