mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 02:44:10 +00:00
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:
parent
e2c98762db
commit
b3ffef536d
@ -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.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
@ -17,8 +17,8 @@
|
|||||||
int test_main(int, char*[])
|
int test_main(int, char*[])
|
||||||
{
|
{
|
||||||
typedef std::bitset<8> bitset_type;
|
typedef std::bitset<8> bitset_type;
|
||||||
const bitset_type initial_value1 = 1ul;
|
const bitset_type initial_value1 = 1;
|
||||||
const bitset_type initial_value2 = 2ul;
|
const bitset_type initial_value2 = 2;
|
||||||
|
|
||||||
bitset_type object1 = initial_value1;
|
bitset_type object1 = initial_value1;
|
||||||
bitset_type object2 = initial_value2;
|
bitset_type object2 = initial_value2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user