File tree Expand file tree Collapse file tree 5 files changed +17
-13
lines changed Expand file tree Collapse file tree 5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 642
642
That is,
643
643
atomic operations on the same memory location via two different addresses will
644
644
communicate atomically.}.
645
- The implementation should not depend on any per-process state.
645
+ The implementation of these operations should not depend on any per-process state.
646
646
\begin {note }
647
647
This restriction enables communication by memory that is
648
648
mapped into a process more than once and by memory that is shared between two
Original file line number Diff line number Diff line change 570
570
\begin {itemize }
571
571
\item
572
572
\tcode {allocated}, set when a dynamic array object has been
573
- allocated, and hence to be freed by the destructor for the
573
+ allocated, and hence will be freed by the destructor for the
574
574
\tcode {strstreambuf} object;
575
575
\item
576
576
\tcode {constant}, set when the array object has
Original file line number Diff line number Diff line change 431
431
time prior to or during the first time an object of class
432
432
\tcode {ios_base::Init} is constructed, and in any case before the body
433
433
of \tcode {main}\iref {basic.start.main } begins execution.
434
-
435
- \recommended
436
- If it is possible for them to do so, implementations should
437
- initialize the objects earlier than required.
438
-
439
434
The objects are not destroyed during program execution.\footnote {Constructors and destructors for objects with
440
435
static storage duration can
441
436
access these objects to read input from
445
440
or
446
441
\tcode {stderr}.
447
442
}
443
+
444
+ \pnum
445
+ \recommended
446
+ If it is possible for them to do so, implementations should
447
+ initialize the objects earlier than required.
448
+
449
+ \pnum
448
450
The results of including \libheader {iostream} in a translation unit shall be as if
449
451
\libheader {iostream} defined an instance of \tcode {ios_base::Init} with static
450
452
storage duration.
9625
9627
\remarks
9626
9628
An
9627
9629
implementation may provide an overriding definition for this function
9628
- signature if it can determine that more characters can be read from the input
9630
+ signature if it can determine whether more characters can be read from the input
9629
9631
sequence.
9630
9632
\end {itemdescr }
9631
9633
11151
11153
\pnum
11152
11154
\begin {note }
11153
11155
The member functions of the provided stream buffer
11154
- can called from \tcode {emit()} while a lock is held,
11155
- which might result in a deadlock.
11156
+ can be called from \tcode {emit()} while a lock is held,
11157
+ which might result in a deadlock if used incautiously .
11156
11158
\end {note }
11157
11159
11158
11160
\pnum
Original file line number Diff line number Diff line change 6446
6446
\begin {note }
6447
6447
It is valid to move from a future object for which \tcode {valid() == false}.
6448
6448
\end {note }
6449
+
6449
6450
\recommended
6450
6451
Implementations should detect this case and throw an object of type
6451
6452
\tcode {future_error} with an error condition of \tcode {future_errc::no_state}.
6745
6746
It is valid to copy or move from a \tcode {shared_future}
6746
6747
object for which \tcode {valid()} is \tcode {false}.
6747
6748
\end {note }
6749
+
6748
6750
\recommended
6749
6751
Implementations should detect this case and throw an object of type
6750
6752
\tcode {future_error} with an error condition of \tcode {future_errc::no_state}.
Original file line number Diff line number Diff line change 4580
4580
\tcode{t} are as defined by the exception safety guarantee of the assignment
4581
4581
expression; \tcode{valueless_by_exception()} will be \tcode{false}.
4582
4582
\item If an exception is thrown during the initialization of the contained value,
4583
- the \tcode{variant} object is permitted not to hold a value.
4583
+ the \tcode{variant} object is permitted to not hold a value.
4584
4584
\end{itemize}
4585
4585
\end{itemdescr}
4586
4586
4664
4664
\pnum
4665
4665
\remarks
4666
4666
If an exception is thrown during the initialization of the contained value,
4667
- the \tcode{variant} is permitted not to hold a value.
4667
+ the \tcode{variant} is permitted to not hold a value.
4668
4668
\end{itemdescr}
4669
4669
4670
4670
\indexlibrarymember{emplace}{variant}%
4705
4705
\pnum
4706
4706
\remarks
4707
4707
If an exception is thrown during the initialization of the contained value,
4708
- the \tcode{variant} is permitted not to hold a value.
4708
+ the \tcode{variant} is permitted to not hold a value.
4709
4709
\end{itemdescr}
4710
4710
4711
4711
\rSec3[variant.status]{Value status}
You can’t perform that action at this time.
0 commit comments