From 862666b854897a7f3f4aa54693b9303adf1d7bc3 Mon Sep 17 00:00:00 2001
From: bemandawes
Date: Wed, 6 Aug 2008 18:40:26 +0000
Subject: [PATCH] Add explicit to ctor
git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@48005 b8fc166d-592f-0410-95f2-cb63ce0dd405
---
libs/integer/doc/endian.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libs/integer/doc/endian.html b/libs/integer/doc/endian.html
index 89d85d9..e9fd0f7 100644
--- a/libs/integer/doc/endian.html
+++ b/libs/integer/doc/endian.html
@@ -213,7 +213,7 @@ usual operations on integers are supplied.
public:
typedef T value_type;
endian(){}
- endian(T v);
+ explicit endian(T v);
endian & operator=(T v);
operator T() const;
};
@@ -311,7 +311,7 @@ usual operations on integers are supplied.
Effects: Constructs an object of type endian<E, T, n_bits, A>
.
-endian(T v);
+explicit endian(T v);
Effects: Constructs an object of type endian<E, T, n_bits, A>
.
Postcondition: x == v,
where x
is the
@@ -514,7 +514,7 @@ Tomas Puverle, and
Yuval Ronen.
Last revised:
-26 May, 2008
+06 August, 2008
© Copyright Beman Dawes, 2006
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at