Commit Graph
74 Commits
Author SHA1 Message Date
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 c17f1ec5b2 Merge pull request #1 from timblechmann/topic/silence_warning
tuple: silence gcc warning
2014-04-17 08:53:51 +08: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 9fbc9b4cc6 Handle width correctly. Fixes #5046.
[SVN r67751]
2011-01-07 15:22:13 +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
Steven Watanabe 08277fd057 Allow printing an empty tuple
[SVN r53211]
2009-05-23 16:39:13 +00:00
Joel de Guzman 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
Steven Watanabe e9dc95ae93 Supress gcc warning. Fixes #2388
[SVN r51449]
2009-02-26 02:35:44 +00:00
Beman Dawes a30a7f9604 With his kind permission, change Jaakko "Järvi" to "Jarvi"
[SVN r46808]
2008-06-28 13:45:21 +00:00
Ralf W. Grosse-Kunstleve 76c2151830 avoid g++ -Wall -W "unused parameter" warnings
[SVN r32373]
2006-01-22 19:29:32 +00:00
Jaakko Järvi 2d13a60d05 applied patch by Rupert Kittinger, avoids potentially undefined behavior
[SVN r30690]
2005-08-26 16:03:05 +00:00
John Maddock 9c6ef41dfe Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Joaquín M. López Muñoz 34690282fe fixes in element<> for BCB compilers, with help from Tobias Schwinger
[SVN r25763]
2004-10-18 06:03:18 +00:00
Douglas Gregor eea1937afc Converted to Boost Software License, Version 1.0
[SVN r24096]
2004-07-27 03:43:34 +00:00
Douglas Gregor 8820994ffd Doug Gregor -> Douglas Gregor
[SVN r24016]
2004-07-25 02:29:29 +00:00
Toon Knapen 045d761ab5 suppressed scoping the call get_class to the detail namespace
[SVN r23113]
2004-06-17 13:51:33 +00:00
Toon Knapen 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
Dave Abrahams 78572fca7b Bug fix for vc6
[SVN r20866]
2003-11-19 22:01:52 +00:00
Joel de Guzman ad29f96e5b updated swallow_assign constness bug
[SVN r20520]
2003-10-28 09:42:43 +00:00
Joel de Guzman 9734556efe made "ingnore" a const object to avoid linker errors
[SVN r20449]
2003-10-21 23:25:17 +00:00
Dave Abrahams e4b869219b More complete functionality for compilers without partial specialization.
[SVN r19925]
2003-09-05 16:52:55 +00:00
Jaakko Järvi 41d649b08c cleaning up after previous commit
[SVN r19688]
2003-08-18 19:35:29 +00:00
Jaakko Järvi 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
Jaakko Järvi 8b4daa1385 patch of a patch
[SVN r17706]
2003-03-03 16:45:55 +00:00
Jaakko Järvi 1972959fda element<T>::type takes constness into consideration
[SVN r17666]
2003-02-26 23:10:55 +00:00
Jaakko Järvi 496cc84960 a patch for borland
[SVN r17660]
2003-02-26 16:04:56 +00:00
Dave Abrahams 8992af95d1 Link bug workaround for MSVC and old Dec CXX
[SVN r16342]
2002-11-20 13:17:52 +00:00
Jaakko Järvi ae40fce7c9 added namespace qualifiers to make MIPS PRO happy
[SVN r16033]
2002-10-31 18:14:29 +00:00
Jaakko Järvi 2c213c8295 fix one borland warning
[SVN r15808]
2002-10-08 18:43:52 +00:00
Jaakko Järvi 22f56bbe58 fixed Bemans name in a comment
[SVN r15594]
2002-10-01 03:26:10 +00:00
Ralf W. Grosse-Kunstleve fb8fa3c7b6 work-around for MIPSpro bug
[SVN r15574]
2002-09-30 19:45:22 +00:00
Dave Abrahams cc5a2ae388 Fixes which make it possible to declare with reference elements
[SVN r15532]
2002-09-28 07:25:27 +00:00
Jaakko Järvi 4cd544f4c1 applied patch Markus Schöpflin, ::template replaced with ::BOOST_NESTED_TEMPLATE
[SVN r15466]
2002-09-20 15:55:10 +00:00
Jaakko Järvi 7896766f8f a fix of a fix
[SVN r15278]
2002-09-12 20:59:05 +00:00
Jaakko Järvi 0a33edd21d workaround for isspace and metrowerks
[SVN r15277]
2002-09-12 20:50:10 +00:00
Douglas Gregor 788896864a Fixed a dumb typo (thanks Marsh)
[SVN r14232]
2002-06-24 14:20:29 +00:00