Commit Graph
39 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 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 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
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
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
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
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
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 1972959fda element<T>::type takes constness into consideration
[SVN r17666]
2003-02-26 23:10:55 +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
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 08be3cbe04 removing tabs
[SVN r13783]
2002-05-09 17:26:37 +00:00
Jaakko Järvi 001f5b4c14 Previous changes broke tuples for Borland, this should fix it
[SVN r13611]
2002-05-01 20:53:44 +00:00
Jaakko Järvi 75d7917f66 - tuple types can now have void and plain function types as
elements
- tuple objects can hold non-copyable objects (such as arrays)


[SVN r13525]
2002-04-19 19:32:19 +00:00
Jaakko Järvi 8408cc0bd5 thomas witt:s patch for icl501, adds a workaround for explicitly
qualified arguments
Also fixed length, so that it now works for empty tuples as well


[SVN r11722]
2001-11-16 23:27:08 +00:00
John Maddock a9b6ca508a Borland C++ fixes: typedef dependent types before using them.
[SVN r11198]
2001-09-22 11:51:14 +00:00
Jaakko Järvi 063758ef7f added full namespace qualifiers in get<N> calls to avoid errors
in edg-strict mode


[SVN r11133]
2001-09-17 10:32:32 +00:00
Jaakko Järvi 5b40ff62c6 merged tuples_subnamespace branch to main trunk
[SVN r11121]
2001-09-14 07:55:58 +00:00
Jaakko Järvi c789016905 included rich_cons
[SVN r11015]
2001-09-04 10:44:37 +00:00
Jeremy Siek 5fb17f027f SGI MIPSpro workaround in default_arg error checking
[SVN r10998]
2001-09-03 15:42:55 +00:00
Jaakko Järvi d84c84e7ed added new constructor for cons lists
[SVN r10927]
2001-08-24 10:43:25 +00:00
Jaakko Järvi 54efc84392 changes to avoid warnings with g++ -Wall
[SVN r10923]
2001-08-24 05:52:16 +00:00
Jaakko Järvi a2e79e63af Added more typenames to make gcc 3.0 -pedantic happy
[SVN r10911]
2001-08-23 13:46:03 +00:00
Jaakko Järvi 1469663d60 Added a specialization for empty tuple ( tuple<> )
Added 'typename's to make_tuple return types to avoid warnings in
edg strict mode


[SVN r10906]
2001-08-22 13:22:30 +00:00
Jaakko Järvi adeeed1f6d Adding the Tuple library files
[SVN r10828]
2001-08-10 11:45:43 +00:00