mirror of
https://github.com/boostorg/tuple.git
synced 2025-07-30 04:37:15 +02:00
typo fixes
[SVN r15653]
This commit is contained in:
@ -264,10 +264,10 @@ A tuple can be copy constructed from another tuple, provided that the element ty
|
|||||||
Analogously, a tuple can be assigned to another tuple, provided that the element types are element-wise assignable.
|
Analogously, a tuple can be assigned to another tuple, provided that the element types are element-wise assignable.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
<pre><code>class A;
|
<pre><code>class A {};
|
||||||
class B : public A {};
|
class B : public A {};
|
||||||
struct C { C(); C(const B&); }
|
struct C { C(); C(const B&); };
|
||||||
struct D { operator C() const; }
|
struct D { operator C() const; };
|
||||||
tuple<char, B*, B, D> t;
|
tuple<char, B*, B, D> t;
|
||||||
...
|
...
|
||||||
tuple<int, A*, C, C> a(t); // ok
|
tuple<int, A*, C, C> a(t); // ok
|
||||||
|
Reference in New Issue
Block a user