diff --git a/doc/html/boost_typetraits/background.html b/doc/html/boost_typetraits/background.html index 40d32b9..d87b82d 100644 --- a/doc/html/boost_typetraits/background.html +++ b/doc/html/boost_typetraits/background.html @@ -2,7 +2,7 @@
![]() |
Home | -Libraries | +Libraries | People | FAQ | More |
@@ -84,7 +84,7 @@ given.
@@ -174,7 +174,7 @@ in the default template.
@@ -195,32 +195,32 @@
Iter1
- and Iter2
must be pointers.
- Iter1
+ and Iter2
must be pointers.
+
Iter1
and Iter2
must point to the same type - excluding
- const and volatile-qualifiers.
- Iter1
and Iter2
must point to the same type - excluding
+ const and volatile-qualifiers.
+
Iter1
- must have a trivial assignment operator.
- Iter1
+ must have a trivial assignment operator.
+
By trivial assignment operator we mean that the type is either a scalar type[3] or:
If all these conditions are met then a type can be copied using memcpy
rather than using a compiler generated
@@ -247,7 +247,7 @@
otherwise it will call the "slow but safe version".
@@ -266,24 +266,24 @@
Table 1.1. Time taken to copy 1000 elements using `copy<const - T*, T*>` (times in micro-seconds)
-
- - Version - - |
+
- - T - - |
+
- - Time - - |
+
---|---|---|
- - "Optimized" copy - - |
+
- - char - - |
+
- - 0.99 - - |
+
- - Conventional copy - - |
+
- - char - - |
+
- - 8.07 - - |
+
- - "Optimized" copy - - |
+
- - int - - |
+
- - 2.52 - - |
+
- - Conventional copy - - |
+
- - int - - |
+
- - 8.02 - - |
+
@@ -416,7 +416,7 @@ to hold non-reference types, references, and constant references:
Table 1.2. Required Constructor Argument Types
+Table 1.2. Required Constructor Argument Types
-
- Type of |
+
- - Type of parameter to initializing constructor - - |
+
---|---|
- - T - - |
+
- - const T & - - |
+
- - T & - - |
+
- - T & - - |
+
- - const T & - - |
+
- - const T & - - |
+
Table 1.3. Using add_reference to synthesize the correct constructor - type
-
-
- Type of |
+
-
- Type of |
+
-
- Type of |
+
---|---|---|
- - T - - |
+
- - const T - - |
+
- - const T & - - |
+
- - T & - - |
+
- - T & [8] - - |
+
- - T & - - |
+
- - const T & - - |
+
- - const T & - - |
+
- - const T & - - |
+
@@ -611,7 +610,7 @@ can be optimal as well as generic.
@@ -619,52 +618,53 @@ comments when preparing this article.