155 Commits

Author SHA1 Message Date
James E. King III 6607510241 Remove redundant condition
This fixes #93
2025-01-02 07:27:45 -05:00
James E. King III 60ae371a68 C++11, Fix use of deprecated timer, fix group assignment operator.
Dependencies like optional and smart_ptr will no longer support C++03
therefore the new minimum language level is C++11, and all the CI jobs
for both C++98 and C++03 have been removed.

Fixed use of the deprecated top level timer class as it was causing
build problems using warnings-as-errors.

Fixed -Wdeprecated-cast in group.hpp.
Fixed -Winvalid-source-encoding in sample_new_features.cpp.
Fixed -Wself-assign-overloaded in format_test2.cpp.

These changes also allow b2 to work properly when executed from
within the format directory.
2024-05-15 13:21:05 -04:00
James E. King III f4453d63cb fix -Werror=suggest-override on exceptions 2022-02-10 15:38:17 -05:00
James E. King III a09f715c2b fix misspelled macro 2022-02-10 07:18:24 -05:00
Glen Fernandes 5884c3d814 Use core/allocator_access for allocator member access 2020-05-25 22:31:06 -04:00
Edward Diener f2de3112a5 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#72) 2020-04-16 07:51:39 -07:00
James E. King, III 5f93cc7f66 improve code coverage, found and fixed a few bugs 2017-11-01 18:22:30 -04:00
James E. King, III e0d1a9ab1a handle volatile arguments to operator% by making a non-volatile
copy of them before feeding through

This fixes #36
2017-10-25 20:02:27 -04:00
James E. King, III ef8ce677b0 fix max interaction against windows.h 2017-10-24 23:33:28 -04:00
James E. King, III 5ce533d8d2 Add support for parsing Microsoft extensions of argument types 'w', 'I', 'I32', 'I64' 2017-10-24 13:13:38 -04:00
James E. King, III 7f55124ecf add support for boolalpha with %b conversion specifier 2017-10-24 11:13:46 -04:00
James E. King, III 1a5993fa80 add support for parsing (and ignoring) argument types 'j', 'z' 2017-10-24 09:30:00 -04:00
James E. King, III e582b2f813 Add conversion specifier support for 'A', 'a', and 'F' 2017-10-23 23:00:21 -04:00
James E. King, III 34f7d339a2 fix casting in call_put_* feed_args 2017-10-13 20:27:32 -04:00
James E. King, III 0e3c00c646 re-enable benchmark build as part of standard builds,
fixed a NO_LOCALE build error the benchmark build discovered,
updated ignored argument handling and fixed build warnings in clang,
changed CI build scripts to build from top level of library
2017-10-13 19:56:45 -04:00
James E. King, III 34c3180273 trac-10324: const correctness on casts 2017-10-13 10:06:28 -04:00
James E. King, III ec42f3aa74 trac-7477: fix exception specification on destructor 2017-10-13 10:05:29 -04:00
James E. King, III bc53dbbaa2 trac-4636: explicit clamping provided to ensure MSVC /RTCc succeeds 2017-10-12 12:18:00 -04:00
Marshall Clow 724faf399b Changed 'less' to 'fewer' in an error message. Patch from @tempoz 2017-10-07 06:43:59 -07:00
James E. King, III d243e11dee fix boost trac 11632: UB in boost.format basic_oaltstringstream 2017-10-06 21:07:58 -07:00
Thomas Sondergaard b849028e5e Update references to c++ standard documentation
Use stable section names rather than section numbers.
2016-09-16 10:43:39 +02:00
Thomas Sondergaard 045c6f15b9 Remove non-ascii character from source
Fixes C4828 warning emitted by Visual C++ compiler using /utf8 or
/validate-charset flag.
2016-09-15 11:00:26 +02:00
Stephan Bergmann 28dada662b BOOST_FALLTHROUGH to silence Clang -Wimplicit-fallthrough 2016-05-11 08:47:03 +02:00
Joachim Faulhaber 6fd5847729 Tweaked imbue fix: Checked for non-null-ness explicitly 2015-09-23 17:53:46 +02:00
Joachim Faulhaber e5171589fe Bugfix: missing imbue call can lead to crashes 2015-09-22 14:32:13 +02:00
Marshall Clow c053e9e154 Merge pull request #6 from lanurmi/spelling-fix-occurrence
Fix spelling of "occurrence"; pull request by @lanurmi
2015-04-03 07:44:27 -07:00
Marshall Clow b48d5b8e33 Merge pull request #4 from bkentel/develop
Fix a warning under MSVC
2015-04-03 07:43:49 -07:00
Lauri Nurmi af6c906cad Fix spelling of "occurrence". 2015-03-28 21:44:41 +02:00
Adam Wulkiewicz 992070cacf Suppress sign-conversion warning in parsing.hpp. 2015-02-02 16:32:09 +01:00
Brandon Kentel efc6ccd04e Fix a warning under MSVC
Fix a warning under MSVC when BOOST_NO_STD_LOCALE is defined.
2014-10-14 23:49:41 +09:00
Stephen Kelly b53aaaa7e7 Format: Remove obsolete GCC version checks.
[SVN r86110]
2013-10-01 08:46:12 +00:00
Stephen Kelly 88a0d6e924 Format: Remove obsolete MSVC version checks.
[SVN r86040]
2013-09-30 00:21:57 +00:00
Joachim Faulhaber 68f7bc0a7a Fix for Ticket #7435: Crash with format using UTF16 strings on MacOS X. Reporter: Franz Detro.
https://svn.boost.org/trac/boost/ticket/7435


[SVN r83374]
2013-03-09 19:15:28 +00:00
Steven Watanabe 2e154546e7 Reduce code bloat from boost::format. Fixes #4700.
[SVN r80989]
2012-10-15 01:28:53 +00:00
Steven Watanabe f2b47a151a Add #include <locale>. Refs #4700.
[SVN r80987]
2012-10-14 19:17:26 +00:00
Steven Watanabe c2abf0cff0 Make Boost.Format work with the default libCstd on sun CC. Fixes #3894
[SVN r62825]
2010-06-11 23:13:32 +00:00
Steven Watanabe 6b0b958736 Remove a few non-ASCII characters
[SVN r62671]
2010-06-09 17:19:52 +00:00
Jeremiah Willcock 3e997b0afc Fixed tab and no-newline-at-end-of-file issues from inspection report
[SVN r61435]
2010-04-20 17:54:16 +00:00
Samuel Krempp 85acf8fc52 fixes new functions (remaining_args, expected_args, ...) in case bound.size()==0
[SVN r57830]
2009-11-21 08:19:51 +00:00
Ralf W. Grosse-Kunstleve 10cc220b36 boost/format/format_implementation.hpp: fixing elementary syntax error introduced in rev. 57734
[SVN r57751]
2009-11-18 17:26:32 +00:00
Samuel Krempp a6403171c0 adds functions returning number of expected (|remaining|fed|bound) args
closes Ticket #2867 (feature request)

[SVN r57734]
2009-11-17 22:46:33 +00:00
Samuel Krempp c8026918ea support for enums on gcc (patch by Steven Watanabe)
fixes Ticket #2015

[SVN r57694]
2009-11-15 23:03:26 +00:00
Samuel Krempp 197decc600 copy-constructor now copies .dumped_ , fixing Ticket #3610
[SVN r57672]
2009-11-15 08:08:32 +00:00
Steven Watanabe a569d82df4 Fix order of initialization warning. Fixes #1699
[SVN r53219]
2009-05-23 19:26:10 +00:00
Jeremiah Willcock 2ca8fb08d0 Fixed most tab and min/max issues from trunk inspection report
[SVN r53141]
2009-05-20 19:19:00 +00:00
Marshall Clow fb6c27612a Fixed unused parameter - bug #2455
[SVN r52258]
2009-04-08 16:14:22 +00:00
John Maddock 7127dd351e Yet another MSVC warning suppression.
[SVN r42080]
2007-12-15 18:49:13 +00:00
John Maddock b6cb5400e9 Trivial patches to silence MSVC warnings.
[SVN r42076]
2007-12-15 17:36:31 +00:00
John Maddock 4356e38c4c MSVC warning suppression.
[SVN r42067]
2007-12-15 12:32:18 +00:00
John Maddock 840ee87985 Added missing #include.
Fix warnings on MSVC: the code should now be clean with -W4.
Fix warnings on gcc: the code should now be clean with -Wall -Wshadow.
This fixes Track issues #585, #980, #1196, #1278 and #1340.

[SVN r41254]
2007-11-20 11:40:28 +00:00