Compare commits

...

7 Commits

Author SHA1 Message Date
Beman Dawes 967c14f7b5 Release
[SVN r43921]
2008-03-29 11:50:24 +00:00
Beman Dawes 5edc863174 Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41369]
2007-11-25 18:07:19 +00:00
Beman Dawes d465155ccc Starting point for releases
[SVN r39706]
2007-10-05 14:25:06 +00:00
nobody ddf192fc53 This commit was manufactured by cvs2svn to create tag
'Version_1_34_1'.

[SVN r38286]
2007-07-24 19:28:14 +00:00
Rene Rivera de56bdaa0a Remove obsolete Boost.Build v1 files.
[SVN r35880]
2006-11-06 17:10:46 +00:00
Gennaro Prota 2d1dea19ba manual merge from trunk: fixed typos reported in http://bugs.debian.org/378016
[SVN r34637]
2006-07-20 14:06:13 +00:00
nobody 39469616d2 This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
[SVN r33417]
2006-03-21 02:26:31 +00:00
4 changed files with 5 additions and 55 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
<rationale>
<simpara>While visitation via
<code><functionname>apply_visitor</functionname></code>
is generally prefered due to its greater safety, <code>get</code> may
is generally preferred due to its greater safety, <code>get</code> may
may be more convenient in some cases due to its straightforward
usage.</simpara>
</rationale>
+1 -1
View File
@@ -1,6 +1,6 @@
//-----------------------------------------------------------------------------
// boost variant.hpp header file
// See http://www.boost.org for updates, documentation, and revision history.
// See http://www.boost.org/libs/variant for documentation.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2003
+3 -3
View File
@@ -477,11 +477,11 @@ class direct_assigner
{
private: // representation
T& rhs_;
const T& rhs_;
public: // structors
explicit direct_assigner(T& rhs)
explicit direct_assigner(const T& rhs)
: rhs_(rhs)
{
}
@@ -1568,7 +1568,7 @@ private: // helpers, for modifiers (below)
void assign(const T& rhs)
{
// If direct T-to-T assignment is not possible...
detail::variant::direct_assigner<const T> direct_assign(rhs);
detail::variant::direct_assigner<T> direct_assign(rhs);
if (this->apply_visitor(direct_assign) == false)
{
// ...then convert rhs to variant and assign:
-50
View File
@@ -1,50 +0,0 @@
# Boost.Variant Library test Jamfile
#
# Copyright (C) 2003, Eric Friedman, Itay Maman.
#
# This material is provided "as is", with absolutely no warranty expressed
# or implied. Any use is at your own risk.
#
# Permission to use or copy this software for any purpose is hereby granted
# without fee, provided the above notices are retained on all copies.
# Permission to modify the code and to distribute modified code is granted,
# provided the above notices are retained, and a notice that the code was
# modified is included with the above copyright notice.
#
subproject libs/variant/test ;
# bring in rules for testing
import testing ;
# Make tests run by default.
DEPENDS all : test ;
{
# look in BOOST_ROOT for sources first, just in this Jamfile
local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ;
test-suite variant
:
[ run libs/variant/test/test1.cpp libs/variant/test/class_a.cpp
: : : : variant_test1 ]
[ run libs/variant/test/test2.cpp
: : : : variant_test2 ]
[ run libs/variant/test/test3.cpp
: : : : variant_test3 ]
[ run libs/variant/test/test4.cpp libs/variant/test/class_a.cpp
: : : : variant_test4 ]
[ run libs/variant/test/test5.cpp
: : : : variant_test5 ]
[ run libs/variant/test/test6.cpp
: : : : variant_test6 ]
[ run libs/variant/test/test7.cpp
: : : : variant_test7 ]
[ run libs/variant/test/test8.cpp
: : : : variant_test8 ]
[ run libs/variant/test/recursive_variant_test.cpp ]
[ run libs/variant/test/variant_reference_test.cpp ]
[ run libs/variant/test/variant_comparison_test.cpp ]
[ run libs/variant/test/variant_visit_test.cpp ]
;
}