2
0
mirror of https://github.com/boostorg/tuple.git synced 2026-01-19 16:52:13 +00:00

226 Commits

Author SHA1 Message Date
Joel de Guzman
504a70bd04 Merge pull request #14 from Lastique/patch-1
Fix narrowing conversion in tuple_manipulator constructor
2019-09-16 08:03:52 +08:00
Andrey Semashev
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
Romain Geissler
1e0276741b Fix -Wdeprecated-copy warning with gcc 9. 2019-04-17 21:13:33 +00:00
Joel de Guzman
0b724234ce Merge pull request #12 from Mike-Devel/min_cmake
[CMake] Generate cmake target that other libraries can use
2018-12-24 07:25:52 +08:00
Mike Dev
292f3f9dc8 [CMake] Generate cmake target that other libraries can use
... to express their dependency on boost tuple and get
usage requiremments, such as the include directory
2018-12-23 22:01:55 +01:00
Adam Wulkiewicz
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
Joel de Guzman
b8e982cd6f Merge pull request #10 from Kojoley/suppress-clang-mismatched-tags-warning
Suppress mismatched tags warning
2018-01-06 06:11:11 +08:00
Nikita Kniazev
37ef42e2c3 Suppress mismatched tags warning 2018-01-05 16:09:49 +03:00
Joel de Guzman
327c1c4fe0 Merge pull request #8 from boostorg/feature/structured-bindings
Make boost::tuple tuple-like to support structured bindings
2018-01-04 07:10:48 +08:00
Peter Dimov
16731d2689 Make boost::tuple tuple-like to support structured bindings 2018-01-03 19:26:11 +02:00
Peter Dimov
c51d8a9495 Switch tests to lightweight_test 2018-01-03 18:41:14 +02:00
Peter Dimov
fb55aa6d4d Add OS X to Travis boost-1.68.0 boost-1.66.0 boost-1.72.0 boost-1.71.0.beta1 boost-1.71.0 boost-1.70.0.beta1 boost-1.70.0 boost-1.69.0-beta1 boost-1.69.0 boost-1.72.0.beta1 boost-1.67.0 2017-11-07 16:13:33 +02:00
Peter Dimov
bbf1609d82 Merge branch 'develop' 2017-11-07 16:11:43 +02:00
Peter Dimov
889ff6de9f Add .travis.yml 2017-11-07 15:17:15 +02:00
Rene Rivera
895af7c97a Add, and update, documentation build targets. 2016-10-07 23:07:37 -05:00
Joel de Guzman
158c7ef640 Fixes Ticket #12064 2016-03-13 08:04:40 +08:00
Joel de Guzman
68eff7df4b Merge pull request #7 from AMDmi3/patch-1
Only check for BOOST_GCC when it's defined
2016-03-02 00:38:58 +08:00
Dmitry Marakasov
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
Joel de Guzman
b54dd8073b Merge pull request #6 from K-ballo/boostbook
Ported documentation to boostbook
2014-08-23 07:07:07 +08:00
K-ballo
b4f05902b8 Ported documentation to boostbook 2014-08-22 18:50:32 -03:00
Joel de Guzman
38ccaa9fa1 Merge pull request #5 from danieljames/metadata
Create metadata file.
2014-08-19 06:08:54 +08:00
Daniel James
4fb261873e Add metadata file. 2014-08-18 15:58:46 +01:00
Joel de Guzman
bc8ada354a Merge pull request #4 from MarcelRaad/patch-1
Make tuple constructor explicit
2014-06-03 23:36:47 +08:00
Marcel Raad
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
Joel de Guzman
d77e569c89 Merge pull request #3 from boostorg/develop
Merge some changes to master.
boost-1.65.0 boost-1.62.0 boost-1.56.0 boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.64.0 boost-1.63.0 boost-1.65.1 boost-1.61.0 boost-1.60.0 boost-1.59.0 boost-1.58.0 boost-1.57.0
2014-05-12 07:27:34 +08:00
Joel de Guzman
c17f1ec5b2 Merge pull request #1 from timblechmann/topic/silence_warning
tuple: silence gcc warning
2014-04-17 08:53:51 +08:00
Joel de Guzman
476a5c155e Merge pull request #2 from Lastique/patch-1
Remove unused local typedef
2014-04-17 08:53:12 +08:00
Daniel James
7f09162df7 Create merge base for git. 2014-04-06 14:40:59 +01:00
Andrey Semashev
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
Tim Blechmann
f4a6eafdb3 tuple: silence gcc warning 2013-12-07 14:40:49 +01:00
Stephen Kelly
ffb3bc75fa Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #elif...#else...#endif blocks.

[SVN r86247]
2013-10-11 23:19:44 +00:00
Stephen Kelly
3cd92cec82 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#else...#endif blocks.

[SVN r86246]
2013-10-11 23:19:17 +00:00
Stephen Kelly
10e946199d Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-10-11 23:17:48 +00:00
Stephen Kelly
5f7673641a Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#endif conditions.

[SVN r86244]
2013-10-11 23:15:00 +00:00
Stephen Kelly
39181642d2 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#endif blocks.

[SVN r86243]
2013-10-11 23:13:10 +00:00
Stephen Kelly
27d746b9e3 Remove obsolete files.
[SVN r86242]
2013-10-11 23:11:35 +00:00
Stephen Kelly
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
Stephen Kelly
40e5cd5e6c Tuple: Remove obsolete MSVC version check.
[SVN r86038]
2013-09-30 00:21:22 +00:00
Stephen Kelly
2798fa2168 Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_NON_TYPE macro.
[SVN r85897]
2013-09-25 10:29:59 +00:00
Stephen Kelly
136ffd5057 Remove use of obsolete BOOST_EXPLICIT_TEMPLATE_NON_TYPE macro.
[SVN r85895]
2013-09-25 10:29:10 +00:00
Steven Watanabe
72cd223130 Merge [67751] from the trunk.
[SVN r71382]
2011-04-19 20:10:43 +00:00
Steven Watanabe
f904cd5d69 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
2b30eb2225 Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Steven Watanabe
9fbc9b4cc6 Handle width correctly. Fixes #5046.
[SVN r67751]
2011-01-07 15:22:13 +00:00
Steven Watanabe
a2c9608ef0 Merge Tuple from the trunk
[SVN r67590]
2011-01-02 20:25:11 +00:00
Steven Watanabe
9d64187c34 Add an element-wise swap for Boost.Tuple. Fixes #1324
[SVN r62686]
2010-06-09 19:30:35 +00:00
Steven Watanabe
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
Steven Watanabe
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
Steven Watanabe
052b3db77f Make reading a tuple work with std::noskipws. Fixes #1920
[SVN r62678]
2010-06-09 17:45:24 +00:00
Troy D. Straszheim
d908a5d566 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00