7c01e916a3
More fixes for -Wsign-conversion
2021-10-11 13:26:45 +02:00
819b3dd67b
Small fix for those using -Wsign-conversion
2021-10-11 13:18:23 +02:00
87ff02bf79
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.
2020-03-30 13:31:11 -04:00
9fd6a5e2c6
Merge pull request #11 from awulkiew/patch-1
...
Use class keyword in std::tuple_size and std::tuple_element specializations
2020-01-23 22:37:20 +08:00
ddaa127cee
Merge pull request #13 from Romain-Geissler-1A/fix-deprecated-copy-warning
...
Fix -Wdeprecated-copy warning with gcc 9.
2020-01-23 22:36:37 +08:00
72f2e7535e
Fix narrowing conversion in tuple_manipulator ctor
...
This fixes unnecessary, possibly wrapping conversion of the character argument of tuple manipulators on tuple_manipulator construction. This should silence MSVC warning C4244:
tuple_io.hpp(142,71): warning C4244: 'argument': conversion from 'const CharType' to 'const char', possible loss of data
Related to https://github.com/boostorg/filesystem/issues/118 .
2019-09-15 15:41:29 +03:00
1e0276741b
Fix -Wdeprecated-copy warning with gcc 9.
2019-04-17 21:13:33 +00:00
30794afc61
Use class keyword in std::tuple_size and std::tuple_element specializations
...
To avoid warnings 'X defined as a struct template but previously declared as a class template'.
2018-01-06 12:40:55 +01:00
37ef42e2c3
Suppress mismatched tags warning
2018-01-05 16:09:49 +03:00
16731d2689
Make boost::tuple tuple-like to support structured bindings
2018-01-03 19:26:11 +02:00
158c7ef640
Fixes Ticket #12064
2016-03-13 08:04:40 +08:00
8b6613e592
Only check for BOOST_GCC when it's defined
...
This fixes warnings with clang:
/usr/local/include/boost/tuple/detail/tuple_basic.hpp:44:5: warning: 'BOOST_GCC' is not defined, evaluates to 0 [-Wundef]
2016-03-01 13:54:12 +03:00
8bdf2a9c58
Make tuple constructor explicit
...
Otherwise everything implicitly convertible to the data type of the first element is implicitly convertible to a boost::tuple, which has led to long-unnoticed bugs in production code. This change is also consistent with the TR1 and C++11 tuple.
2014-06-03 14:32:44 +02:00
c17f1ec5b2
Merge pull request #1 from timblechmann/topic/silence_warning
...
tuple: silence gcc warning
2014-04-17 08:53:51 +08:00
f9b3dcb203
Remove unused local typedef
...
Remove unused function-local typedef to avoid warnings with GCC 4.8.
2014-03-08 10:58:09 +03:00
f4a6eafdb3
tuple: silence gcc warning
2013-12-07 14:40:49 +01:00
ffb3bc75fa
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #elif...#else...#endif blocks.
[SVN r86247]
2013-10-11 23:19:44 +00:00
3cd92cec82
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifdef...#else...#endif blocks.
[SVN r86246]
2013-10-11 23:19:17 +00:00
10e946199d
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#else...#endif blocks.
[SVN r86245]
2013-10-11 23:17:48 +00:00
5f7673641a
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#endif conditions.
[SVN r86244]
2013-10-11 23:15:00 +00:00
39181642d2
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifdef...#endif blocks.
[SVN r86243]
2013-10-11 23:13:10 +00:00
27d746b9e3
Remove obsolete files.
...
[SVN r86242]
2013-10-11 23:11:35 +00:00
2f49af7db8
Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro.
...
It was only defined for no-longer-supported-gcc.
[SVN r86062]
2013-09-30 15:56:52 +00:00
40e5cd5e6c
Tuple: Remove obsolete MSVC version check.
...
[SVN r86038]
2013-09-30 00:21:22 +00:00
2798fa2168
Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE macro.
...
[SVN r85897]
2013-09-25 10:29:59 +00:00
136ffd5057
Remove use of obsolete BOOST_EXPLICIT_TEMPLATE_NON_TYPE macro.
...
[SVN r85895]
2013-09-25 10:29:10 +00:00
9fbc9b4cc6
Handle width correctly. Fixes #5046 .
...
[SVN r67751]
2011-01-07 15:22:13 +00:00
9d64187c34
Add an element-wise swap for Boost.Tuple. Fixes #1324
...
[SVN r62686]
2010-06-09 19:30:35 +00:00
7b6203747a
Use an inline function instead of a static object for boost::tuples::ignore, avoiding problems with the ODR and Borland precompiled headers. Fixes #2656
...
[SVN r62684]
2010-06-09 19:00:56 +00:00
1b07c1a2d4
Reimplement boost::tuples::element and boost::tuples::get to make better use of memoization. Fixes #2130
...
[SVN r62683]
2010-06-09 18:28:16 +00:00
052b3db77f
Make reading a tuple work with std::noskipws. Fixes #1920
...
[SVN r62678]
2010-06-09 17:45:24 +00:00
08277fd057
Allow printing an empty tuple
...
[SVN r53211]
2009-05-23 16:39:13 +00:00
451415ebce
fixed tuples::length not having a specialization for const tuple<> and const null_type
...
[SVN r51862]
2009-03-20 01:21:42 +00:00
e9dc95ae93
Supress gcc warning. Fixes #2388
...
[SVN r51449]
2009-02-26 02:35:44 +00:00
a30a7f9604
With his kind permission, change Jaakko "Järvi" to "Jarvi"
...
[SVN r46808]
2008-06-28 13:45:21 +00:00
76c2151830
avoid g++ -Wall -W "unused parameter" warnings
...
[SVN r32373]
2006-01-22 19:29:32 +00:00
2d13a60d05
applied patch by Rupert Kittinger, avoids potentially undefined behavior
...
[SVN r30690]
2005-08-26 16:03:05 +00:00
9c6ef41dfe
Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
...
[SVN r30670]
2005-08-25 16:27:28 +00:00
34690282fe
fixes in element<> for BCB compilers, with help from Tobias Schwinger
...
[SVN r25763]
2004-10-18 06:03:18 +00:00
eea1937afc
Converted to Boost Software License, Version 1.0
...
[SVN r24096]
2004-07-27 03:43:34 +00:00
8820994ffd
Doug Gregor -> Douglas Gregor
...
[SVN r24016]
2004-07-25 02:29:29 +00:00
045d761ab5
suppressed scoping the call get_class to the detail namespace
...
[SVN r23113]
2004-06-17 13:51:33 +00:00
63c93b59b4
port to vacpp:
...
added default template arguments explicitly (Joaquin M Lopez)
removed member template keyword (Toon Knapen)
[SVN r23109]
2004-06-17 07:01:13 +00:00
78572fca7b
Bug fix for vc6
...
[SVN r20866]
2003-11-19 22:01:52 +00:00
ad29f96e5b
updated swallow_assign constness bug
...
[SVN r20520]
2003-10-28 09:42:43 +00:00
9734556efe
made "ingnore" a const object to avoid linker errors
...
[SVN r20449]
2003-10-21 23:25:17 +00:00
e4b869219b
More complete functionality for compilers without partial specialization.
...
[SVN r19925]
2003-09-05 16:52:55 +00:00
41d649b08c
cleaning up after previous commit
...
[SVN r19688]
2003-08-18 19:35:29 +00:00
122bf636f5
getting rid of some library specific macros and using BOOST_NO_EXPLICIT_-
...
FUNCTION_TEMPLATE_ARGUMENTS related helper macros from the config library
[SVN r19687]
2003-08-18 19:33:47 +00:00
8b4daa1385
patch of a patch
...
[SVN r17706]
2003-03-03 16:45:55 +00:00