Boost logo

Boost-Commit :

From: asutton_at_[hidden]
Date: 2007-07-24 21:11:01


Author: asutton
Date: 2007-07-24 21:11:00 EDT (Tue, 24 Jul 2007)
New Revision: 7531
URL: http://svn.boost.org/trac/boost/changeset/7531

Log:
Made some changes.

Text files modified:
   sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/copy_constructible.qbk | 15 ++++++++++++++-
   sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/default_constructible.qbk | 2 +-
   sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/destructible.qbk | 2 +-
   3 files changed, 16 insertions(+), 3 deletions(-)

Modified: sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/copy_constructible.qbk
==============================================================================
--- sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/copy_constructible.qbk (original)
+++ sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/copy_constructible.qbk 2007-07-24 21:11:00 EDT (Tue, 24 Jul 2007)
@@ -12,6 +12,9 @@
 argument: a `const` reference to `T`. After construction, a constructed
 object is equivalent to the object passed as an argument.
 
+Two objects `t` and `u` are equivalent if the expression `t == u` returns
+`true`.
+
 [heading Refinement of]
 [StdDestructible]
 
@@ -29,7 +32,10 @@
     [[Name] [Expression] [Result Type] [Description]]
     [
         [Copy Constructor]
- [`T t(u)`]
+ [
+ `T t(u);`
+ `T t = u;`
+ ]
         []
         [
                 *Semantics:* `t` is declared as an object of type `T`.
@@ -49,6 +55,13 @@
     ]
 ]
 
+[heading Notes]
+A type that explicitly defines a private copy constructor is not
+[StdCopyConstructible]. These types are also called non-copyable types.
+
+[heading Examples]
+
+
 [heading C++0x]
 In the next version of the C++ language, the destructible and addressable
 requirements are removed from this concept and made explicit elsewhere. The

Modified: sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/default_constructible.qbk
==============================================================================
--- sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/default_constructible.qbk (original)
+++ sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/default_constructible.qbk 2007-07-24 21:11:00 EDT (Tue, 24 Jul 2007)
@@ -157,7 +157,7 @@
     // This concept requires that T be constructible with a variable number
     // of arguments. Constructible types are required to be Desctructible.
     auto concept Constructible<typename T, typename... Args>
- : ``[StdDestructible]``<T>
+ :``[StdDestructible]``<T>
     {
         T::T(Args...);
     };

Modified: sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/destructible.qbk
==============================================================================
--- sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/destructible.qbk (original)
+++ sandbox/boost_docs/trunk/libs/standard/doc/concepts/utilities/destructible.qbk 2007-07-24 21:11:00 EDT (Tue, 24 Jul 2007)
@@ -13,7 +13,7 @@
 The following expressions are used within this document:
 [table
     [[Expression] [Description]]
- [[T] [A [StdCopyConstructible] type.]]
+ [[T] [A [StdDestructible] type.]]
     [[t] [An object of type `T`.]]
 ]
 


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