• Home
  • Raw
  • Download

Lines Matching +refs:clang +refs:format +refs:executable

25   but still very fast, replacement-based `format API
26 <http://fmtlib.net/latest/api.html#format-api>`_ with positional arguments
30 * Format API with `format string syntax
32 similar to the one used by `str.format
33 <https://docs.python.org/2/library/stdtypes.html#str.format>`_ in Python.
38 * High speed: performance of the format API is close to that of
48 * Safety: the library is fully type safe, errors in format strings are
70 fmt::print("Hello, {}!", "world"); // uses Python-like format string syntax
71 fmt::printf("Hello, %s!", "world"); // uses printf format string syntax
77 std::string s = fmt::format("{0}{1}{0}", "abra", "cad");
106 std::string s = fmt::format("The date is {}", Date(2012, 12, 9));
111 macro to create your own functions similar to `format
112 <http://fmtlib.net/latest/api.html#format>`_ and
119 void report_error(const char *format, fmt::ArgList args) {
121 fmt::print(format, args);
204 they are mostly solved with `__attribute__ ((format (printf, ...))
236 This is a very powerful library which supports both printf-like format
261 SafeFormat is a formatting library which uses printf-like format strings
264 format arguments.
269 This library supports printf-like format strings and is very small and
293 runs. In the test, the format string ``"%0.10f:%04d:%+g:%s:%p:%c:%%\n"`` or
296 <https://github.com/fmtlib/format-benchmark/blob/master/tinyformat_test.cpp>`_.
305 Boost Format 1.54 boost::format 9.94
308 As you can see ``boost::format`` is much slower than the alternative methods; this
320 <https://github.com/fmtlib/format-benchmark/blob/master/bloat-test.py>`_
321 from `format-benchmark <https://github.com/fmtlib/format-benchmark>`_
325 executable size and compile time (g++-4.8.1, Ubuntu GNU/Linux 13.10,
370 `format-benchmarks <https://github.com/fmtlib/format-benchmark>`_,
374 $ git clone --recursive https://github.com/fmtlib/format-benchmark.git
375 $ cd format-benchmark
416 <http://clang.llvm.org/doxygen/classclang_1_1Diagnostic.html>`_ in
417 `Clang <http://clang.llvm.org/>`_.
418 Format string syntax and the documentation are based on Python's `str.format
419 <http://docs.python.org/2/library/stdtypes.html#str.format>`_.
424 `comparison of integer formatting algorithms <https://github.com/ruslo/int-dec-format-tests>`_