Merged std_bitset.cpp (boost::swap test) from trunk r60292 through r60334 and r61065 through r61076, including #3984 fix.

[SVN r61077]
This commit is contained in:
Niels Dekker 2010-04-05 19:21:12 +00:00
parent e2c98762db
commit b3ffef536d

View File

@ -1,4 +1,4 @@
// Copyright (c) 2008 Joseph Gauterin, Niels Dekker
// Copyright (c) 2008 - 2010 Joseph Gauterin, Niels Dekker
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
@ -17,8 +17,8 @@
int test_main(int, char*[])
{
typedef std::bitset<8> bitset_type;
const bitset_type initial_value1 = 1ul;
const bitset_type initial_value2 = 2ul;
const bitset_type initial_value1 = 1;
const bitset_type initial_value2 = 2;
bitset_type object1 = initial_value1;
bitset_type object2 = initial_value2;