mirror of
https://github.com/boostorg/tuple.git
synced 2025-07-29 12:17:32 +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.
|
||||
For example:
|
||||
|
||||
<pre><code>class A;
|
||||
<pre><code>class A {};
|
||||
class B : public A {};
|
||||
struct C { C(); C(const B&); }
|
||||
struct D { operator C() const; }
|
||||
struct C { C(); C(const B&); };
|
||||
struct D { operator C() const; };
|
||||
tuple<char, B*, B, D> t;
|
||||
...
|
||||
tuple<int, A*, C, C> a(t); // ok
|
||||
|
Reference in New Issue
Block a user