Subject: [Boost-bugs] [Boost C++ Libraries] #6815: Compile time checking of format string (e.g. in printf)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-21 14:11:38
#6815: Compile time checking of format string (e.g. in printf)
-------------------------------------+--------------------------------------
Reporter: d.starosud@⦠| Owner: samuel_krempp
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: format
Version: Boost Development Trunk | Severity: Not Applicable
Keywords: |
-------------------------------------+--------------------------------------
It would be great to have possibility to check correspondence and
correctness of format and arguments of printf function in compile time.
This functionality would fill in the lack of expressive power of user-
defined literals form C++11, I mean inability to use template-user-defined
literal for character strings (e.g. "qwerty 123"_format).
In attachment you can find my implementation of it. It would be really
great if it or maybe better improved variant of it will be in boost.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6815> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC