Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2008-08-06 14:40:26


Author: bemandawes
Date: 2008-08-06 14:40:26 EDT (Wed, 06 Aug 2008)
New Revision: 48005
URL: http://svn.boost.org/trac/boost/changeset/48005

Log:
Add explicit to ctor
Text files modified:
   sandbox/endian/libs/integer/doc/endian.html | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/endian/libs/integer/doc/endian.html
==============================================================================
--- sandbox/endian/libs/integer/doc/endian.html (original)
+++ sandbox/endian/libs/integer/doc/endian.html 2008-08-06 14:40:26 EDT (Wed, 06 Aug 2008)
@@ -213,7 +213,7 @@
     public:
       typedef T value_type;
       endian(){}
- endian(T v);
+ explicit endian(T v);
       endian & operator=(T v);
       operator T() const;
     };
@@ -311,7 +311,7 @@
 <blockquote>
 <p><i>Effects:</i> Constructs an object of type <code>endian&lt;E, T, n_bits, A&gt;</code>.</p>
 </blockquote>
-<p><code>endian(T v);</code></p>
+<p><code>explicit endian(T v);</code></p>
 <blockquote>
 <p><i>Effects:</i> Constructs an object of type <code>endian&lt;E, T, n_bits, A&gt;</code>.</p>
 <p><i>Postcondition:</i> <code>x == v,</code> where <code>x</code> is the
@@ -514,7 +514,7 @@
 Yuval Ronen.</p>
 <hr>
 <p>Last revised:
-<!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan -->26 May, 2008<!--webbot bot="Timestamp" endspan i-checksum="14024" --></p>
+<!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %B, %Y" startspan -->06 August, 2008<!--webbot bot="Timestamp" endspan i-checksum="34800" --></p>
 <p>© Copyright Beman Dawes, 2006</p>
 <p>Distributed under the Boost Software License, Version 1.0. (See accompanying
 file LICENSE_1_0.txt or copy at


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk