new
. More...
They are required by default to cooperate with the global C library's FILE
streams, and to be available during program startup and termination. For more information, see the HOWTO linked to above.
|
If you write your own error handler to be called by |
|
Type used by fpos, char_traits<char>, and char_traits<wchar_t>.
Definition at line 74 of file postypes.h. |
|
File position for char streams.
Definition at line 210 of file postypes.h. |
|
Integral type for I/O operation counts and buffer sizes.
Definition at line 78 of file postypes.h. |
|
If you write a replacement terminate handler, it must be of this type.
|
|
If you write a replacement unexpected handler, it must be of this type.
|
|
File position for wchar_t streams.
Definition at line 212 of file postypes.h. |
|
Describes the denormalization for floating-point types. These values represent the presence or absence of a variable number of exponent bits. This type is used in the std::numeric_limits class. |
|
Describes the rounding style for floating-point types. This is used in the std::numeric_limits class. |
|
Accumulate values in a range with operation. Accumulates the values in the range [first,last) using the function object binary_op. The initial value is init. The values are processed in order.
Definition at line 108 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Accumulate values in a range. Accumulates the values in the range [first,last) using operator+(). The initial value is init. The values are processed in order.
Definition at line 82 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Return differences between adjacent values. Computes the difference between adjacent values in the range [first,last) using the function object binary_op and writes the result to result.
Definition at line 314 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Return differences between adjacent values. Computes the difference between adjacent values in the range [first,last) using operator-() and writes the result to result.
Definition at line 275 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Find two adjacent values in a sequence using a predicate.
Definition at line 381 of file stl_algo.h. References __glibcxx_function_requires. |
|
Find two adjacent values in a sequence that are equal.
Definition at line 350 of file stl_algo.h. References __glibcxx_function_requires. Referenced by unique(). |
|
A generalization of pointer arithmetic.
i by n . For bidirectional and random access iterators, n may be negative, in which case i is decremented.
For random access iterators, this uses their Definition at line 172 of file stl_iterator_base_funcs.h. References __advance(), and __iterator_category(). Referenced by __find_end(), __inplace_stable_partition(), __merge_adaptive(), __merge_without_buffer(), __rotate_adaptive(), __stable_partition_adaptive(), vector::_M_assign_aux(), deque::_M_assign_aux(), vector< bool, _Alloc >::_M_assign_aux(), deque::_M_insert_aux(), deque::_M_range_initialize(), vector::_M_range_insert(), equal_range(), lower_bound(), and upper_bound(). |
|
Definition at line 397 of file stl_iterator.h. |
|
Calls base.setf(ios_base::boolalpha).
Definition at line 788 of file ios_base.h. References ios_base::boolalpha, and ios_base::setf(). |
|
|
Copies the range [first,last) into result.
memmove whenever possible. Failing that, if random access iterators are passed, then the loop count will be known (and therefore a candidate for compiler optimizations such as unrolling).Result may not be in the range [first,last). Use copy instead. Note that the start of the output range may overlap [first,last). Definition at line 504 of file stl_algobase.h. References __glibcxx_function_requires, and __copy_backward_normal::copy_b_n(). Referenced by __insertion_sort(), __merge_backward(), __rotate_adaptive(), vector::_M_fill_insert(), vector< bool, _Alloc >::_M_fill_insert(), vector::_M_insert_aux(), vector< bool, _Alloc >::_M_insert_aux(), deque::_M_insert_aux(), vector< bool, _Alloc >::_M_insert_range(), vector::_M_range_insert(), deque::_M_reallocate_map(), and deque::erase(). |
|
Count the number of copies of a value in a sequence.
Definition at line 412 of file stl_algo.h. References __glibcxx_function_requires. |
|
Count the elements of a sequence for which a predicate is true.
Definition at line 436 of file stl_algo.h. References __glibcxx_function_requires. |
|
Calls base.setf(ios_base::dec, ios_base::basefield).
Definition at line 926 of file ios_base.h. References ios_base::basefield, ios_base::dec, and ios_base::setf(). |
|
A generalization of pointer arithmetic.
n such that first + n == last. This requires that last must be reachable from first . Note that n may be negative.
For random access iterators, this uses their Definition at line 114 of file stl_iterator_base_funcs.h. References __distance(), and __iterator_category(). Referenced by __find_end(), __inplace_stable_partition(), __is_heap(), __merge_adaptive(), __merge_without_buffer(), __rotate_adaptive(), __stable_partition_adaptive(), vector::_M_assign_aux(), deque::_M_assign_aux(), vector< bool, _Alloc >::_M_assign_aux(), vector< bool, _Alloc >::_M_initialize_range(), vector< bool, _Alloc >::_M_insert_range(), vector::_M_range_initialize(), deque::_M_range_initialize(), vector::_M_range_insert(), deque::_M_range_insert_aux(), hashtable< Value, Value, Alloc, Internal::identity< Value >, Pred, Hash, Internal::mod_range_hashing, Internal::default_ranged_hash, Internal::prime_rehash_policy, cache_hash_code, false, false >::bucket_size(), _Rb_tree::count(), Internal::distance_fw(), equal_range(), _Rb_tree::erase(), inplace_merge(), hashtable::insert_equal(), hashtable::insert_unique(), lower_bound(), __gnu_cxx::random_sample_n(), list::size(), and upper_bound(). |
|
Write a newline and flush the stream. This manipulator is often mistakenly used when a simple newline is desired, leading to poor buffering performance. See http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#2 for more on this subject. Definition at line 517 of file ostream. References flush(), basic_ostream::put(), and basic_ios::widen(). |
|
Write a null character into the output sequence.
"Null character" is Definition at line 528 of file ostream. References basic_ostream::put(). |
|
Tests a range for element-wise equality.
Definition at line 781 of file stl_algobase.h. References __glibcxx_function_requires. |
|
Tests a range for element-wise equality.
== and returns true or false depending on whether all of the corresponding elements of the ranges are equal.
Definition at line 748 of file stl_algobase.h. References __glibcxx_function_requires. Referenced by operator==(), and std::tr1::operator==(). |
|
Fills the range [first,last) with copies of value.
memset .
Definition at line 560 of file stl_algobase.h. References __glibcxx_function_requires, and __fill::fill(). Referenced by __uninitialized_fill_aux(), _Base_bitset::_M_do_left_shift(), _Base_bitset::_M_do_right_shift(), vector::_M_fill_assign(), deque::_M_fill_assign(), vector< bool, _Alloc >::_M_fill_assign(), vector::_M_fill_insert(), vector< bool, _Alloc >::_M_fill_insert(), vector< bool, _Alloc >::_M_initialize_dispatch(), deque::_M_insert_aux(), fill_n(), and vector< bool, _Alloc >::vector(). |
|
Fills the range [first,first+n) with copies of value.
memset .
Definition at line 636 of file stl_algobase.h. References __glibcxx_function_requires, and __fill_n::fill_n(). Referenced by __uninitialized_fill_n_aux(), vector::_M_fill_assign(), vector< bool, _Alloc >::_M_fill_insert(), char_traits< __gnu_cxx::character< V, I, S > >::assign(), and char_traits::assign(). |
|
Find the first occurrence of a value in a sequence.
Definition at line 306 of file stl_algo.h. References __glibcxx_function_requires, __iterator_category(), and find(). |
|
Find last matching subsequence in a sequence using a predicate.
[first1,last1) for a sub-sequence that compares equal value-by-value with the sequence given by [first2,last2) using comp as a predicate and returns an iterator to the first element of the sub-sequence, or last1 if the sub-sequence is not found. The sub-sequence will be the last such subsequence contained in [first,last1).
Because the sub-sequence must lie completely within the range Definition at line 5143 of file stl_algo.h. References __find_end(), __glibcxx_function_requires, and __iterator_category(). |
|
Find last matching subsequence in a sequence.
[first1,last1) for a sub-sequence that compares equal value-by-value with the sequence given by [first2,last2) and returns an iterator to the first element of the sub-sequence, or last1 if the sub-sequence is not found. The sub-sequence will be the last such subsequence contained in [first,last1).
Because the sub-sequence must lie completely within the range Definition at line 5097 of file stl_algo.h. References __find_end(), __glibcxx_function_requires, and __iterator_category(). |
|
Find element from a set in a sequence using a predicate.
[first1,last1) for an element that is equal to some element in the range [first2,last2). If found, returns an iterator in the range [first1,last1), otherwise returns last1 .
Definition at line 4918 of file stl_algo.h. References __glibcxx_function_requires. |
|
Find element from a set in a sequence.
[first1,last1) for an element that is equal to some element in the range [first2,last2). If found, returns an iterator in the range [first1,last1), otherwise returns last1 .
Definition at line 4881 of file stl_algo.h. References __glibcxx_function_requires. |
|
Find the first element in a sequence for which a predicate is true.
Definition at line 328 of file stl_algo.h. References __glibcxx_function_requires, __iterator_category(), and find_if(). |
|
Calls base.setf(ios_base::fixed, ios_base::floatfield).
Definition at line 951 of file ios_base.h. References ios_base::fixed, ios_base::floatfield, and ios_base::setf(). |
|
Flushes the output stream.
This manipulator simply calls the stream's Definition at line 538 of file ostream. References basic_ostream::flush(). Referenced by endl(). |
|
Apply a function to every element of a sequence.
f to each element in the range [first,last). f must not modify the order of the sequence. If f has a return value it is ignored.
Definition at line 152 of file stl_algo.h. References __glibcxx_function_requires. |
|
Definition at line 471 of file stl_iterator.h. |
|
Assign the result of a function object to each value in a sequence.
*i = gen() for each i in the range [first,last).
Definition at line 970 of file stl_algo.h. References __glibcxx_function_requires. |
|
Assign the result of a function object to each value in a sequence.
*i = gen() for each i in the range [first,first+n).
Definition at line 996 of file stl_algo.h. References __glibcxx_function_requires. |
|
Allocates a temporary buffer.
This function tries to obtain storage for Provides the nothrow exception guarantee. Definition at line 110 of file memory. References __get_temporary_buffer(). Referenced by _Temporary_buffer::_Temporary_buffer(). |
|
Read a line from stream into a string.
' is found, the end of the stream is encountered, or str.max_size() is reached. If is.width() is non-zero, that is the limit on the number of characters stored into str. Any previous contents of str are erased. If end of line was encountered, it is extracted but not stored into str. Definition at line 1256 of file istream.tcc. References getline(), and basic_ios::widen(). |
|
Read a line from stream into a string.
Definition at line 1196 of file istream.tcc. References basic_ios::_M_setstate(), ios_base::badbit, ios_base::eofbit, basic_string::erase(), ios_base::failbit, ios_base::goodbit, basic_string::max_size(), basic_ios::rdbuf(), and basic_ios::setstate(). Referenced by getline(). |
|
Test for the presence of a facet. has_facet tests the locale argument for the presence of the facet type provided as the template parameter. Facets derived from the facet parameter will also return true.
Definition at line 88 of file locale_facets.tcc. |
|
Calls base.setf(ios_base::hex, ios_base::basefield).
Definition at line 934 of file ios_base.h. References ios_base::basefield, ios_base::hex, and ios_base::setf(). |
|
Compute inner product of two ranges. Starting with an initial value of init, applies binary_op2 to successive elements from the two ranges and accumulates each result into the accumulated value using binary_op1. The values in the ranges are processed in order.
Definition at line 168 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Compute inner product of two ranges. Starting with an initial value of init, multiplies successive elements from the two ranges and adds each product into the accumulated value using operator+(). The values in the ranges are processed in order.
Definition at line 136 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Merges two sorted ranges in place.
If enough additional memory is available, this takes (last-first)-1 comparisons. Otherwise an NlogN algorithm is used, where N is distance(first,last). The comparison function should have the same effects on ordering as the function used for the initial sort. Definition at line 3507 of file stl_algo.h. References __glibcxx_function_requires, __merge_adaptive(), __merge_without_buffer(), _Temporary_buffer::begin(), distance(), and _Temporary_buffer::size(). |
|
Merges two sorted ranges in place.
If enough additional memory is available, this takes (last-first)-1 comparisons. Otherwise an NlogN algorithm is used, where N is distance(first,last). Definition at line 3453 of file stl_algo.h. References __glibcxx_function_requires, __merge_adaptive(), __merge_without_buffer(), _Temporary_buffer::begin(), distance(), and _Temporary_buffer::size(). |
|
Definition at line 567 of file stl_iterator.h. Referenced by deque::_M_range_insert_aux(). |
|
Calls base.setf(ios_base::internal, ios_base::adjustfield).
Definition at line 901 of file ios_base.h. References ios_base::adjustfield, ios_base::internal, and ios_base::setf(). |
|
Convenience interface to ctype.is(ctype_base::alnum, __c).
Definition at line 4556 of file locale_facets.h. References ctype_base::alnum. |
|
Convenience interface to ctype.is(ctype_base::alpha, __c).
Definition at line 4532 of file locale_facets.h. References ctype_base::alpha. |
|
Convenience interface to ctype.is(ctype_base::cntrl, __c).
Definition at line 4514 of file locale_facets.h. References ctype_base::cntrl. |
|
Convenience interface to ctype.is(ctype_base::digit, __c).
Definition at line 4538 of file locale_facets.h. References ctype_base::digit. |
|
Convenience interface to ctype.is(ctype_base::graph, __c).
Definition at line 4562 of file locale_facets.h. References ctype_base::graph. |
|
Convenience interface to ctype.is(ctype_base::lower, __c).
Definition at line 4526 of file locale_facets.h. References ctype_base::lower. |
|
Convenience interface to ctype.is(ctype_base::print, __c).
Definition at line 4508 of file locale_facets.h. References ctype_base::print. |
|
Convenience interface to ctype.is(ctype_base::punct, __c).
Definition at line 4544 of file locale_facets.h. References ctype_base::punct. |
|
Convenience interface to ctype.is(ctype_base::space, __c).
Definition at line 4502 of file locale_facets.h. References ctype_base::space. |
|
Convenience interface to ctype.is(ctype_base::upper, __c).
Definition at line 4520 of file locale_facets.h. References ctype_base::upper. |
|
Convenience interface to ctype.is(ctype_base::xdigit, __c).
Definition at line 4550 of file locale_facets.h. References ctype_base::xdigit. |
|
Swaps the contents of two iterators.
Definition at line 142 of file stl_algobase.h. References __glibcxx_function_requires. Referenced by __merge_without_buffer(), __partition(), __reverse(), __unguarded_partition(), next_permutation(), prev_permutation(), random_shuffle(), and swap_ranges(). |
|
Calls base.setf(ios_base::left, ios_base::adjustfield).
Definition at line 909 of file ios_base.h. References ios_base::adjustfield, ios_base::left, and ios_base::setf(). |
|
Performs "dictionary" comparison on ranges.
lexigraphical_compare , but uses the comp parameter instead of < .
Definition at line 853 of file stl_algobase.h. References __glibcxx_function_requires. |
|
Performs "dictionary" comparison on ranges.
memcmp .
Definition at line 812 of file stl_algobase.h. References __glibcxx_function_requires. Referenced by lexicographical_compare(), operator<(), __gnu_cxx::operator<(), and std::tr1::operator<(). |
|
Construct a heap over a range using comparison functor.
Definition at line 384 of file stl_heap.h. References __adjust_heap(), and __glibcxx_function_requires. |
|
Construct a heap over a range.
Definition at line 344 of file stl_heap.h. References __adjust_heap(), and __glibcxx_function_requires. Referenced by partial_sort(), partial_sort_copy(), and priority_queue::priority_queue(). |
|
A convenience wrapper for creating a pair from two objects.
Definition at line 144 of file stl_pair.h. Referenced by hashtable::equal_range(), prime_rehash_policy::need_rehash(), and map_base< K, Pair, extract1st< Pair >, true, Hashtable >::operator[](). |
|
This does what you think it does.
Definition at line 248 of file stl_algobase.h. |
|
This does what you think it does.
Definition at line 206 of file stl_algobase.h. References __glibcxx_function_requires. Referenced by __get_temporary_buffer(), num_get::_M_extract_int(), vector::_M_fill_insert(), vector< bool, _Alloc >::_M_fill_insert(), _Deque_base::_M_initialize_map(), vector< bool, _Alloc >::_M_insert_range(), vector::_M_range_insert(), deque::_M_reallocate_map(), rope::_S_apply_to_pieces(), hashtable::hashtable(), basic_istream::ignore(), prime_rehash_policy::need_rehash(), operator>>(), basic_istream::operator>>(), and basic_stringbuf::overflow(). |
|
Return the maximum element in a range using comparison functor.
Definition at line 4568 of file stl_algo.h. References __glibcxx_function_requires. |
|
Return the maximum element in a range.
Definition at line 4541 of file stl_algo.h. References __glibcxx_function_requires. Referenced by valarray::max(). |
|
Merges two sorted ranges.
The comparison function should have the same effects on ordering as the function used for the initial sort. Definition at line 3034 of file stl_algo.h. References __glibcxx_function_requires, and copy(). |
|
Merges two sorted ranges.
Definition at line 2976 of file stl_algo.h. References __glibcxx_function_requires, and copy(). Referenced by __merge_adaptive(), and __merge_sort_loop(). |
|
This does what you think it does.
Definition at line 228 of file stl_algobase.h. |
|
This does what you think it does.
Definition at line 184 of file stl_algobase.h. References __glibcxx_function_requires. Referenced by __gnu_cxx::__lexicographical_compare_3way(), __merge_sort_loop(), __verify_grouping(), bitset::_M_copy_from_string(), num_get::_M_extract_int(), time_get::_M_extract_name(), rope::_S_apply_to_pieces(), basic_string::compare(), codecvt< _InternT, _ExternT, encoding_state >::do_length(), basic_istream::ignore(), lexicographical_compare(), basic_istream::operator>>(), basic_stringbuf::overflow(), __gnu_cxx::random_sample_n(), basic_istream::readsome(), basic_string::rfind(), basic_filebuf::underflow(), basic_streambuf::xsgetn(), basic_streambuf::xsputn(), and basic_filebuf::xsputn(). |
|
Return the minimum element in a range using comparison functor.
Definition at line 4620 of file stl_algo.h. References __glibcxx_function_requires. |
|
Return the minimum element in a range.
Definition at line 4593 of file stl_algo.h. References __glibcxx_function_requires. Referenced by valarray::min(). |
|
Finds the places in ranges which don't match.
Definition at line 719 of file stl_algobase.h. References __glibcxx_function_requires. |
|
Finds the places in ranges which don't match.
== and returns a pair of iterators. The first iterator points into the first range, the second iterator points into the second range, and the elements pointed to by the iterators are not equal.
Definition at line 683 of file stl_algobase.h. References __glibcxx_function_requires. |
|
Permute range into the next "dictionary" ordering using comparison functor.
Definition at line 4711 of file stl_algo.h. References __glibcxx_function_requires, iter_swap(), and reverse(). |
|
Permute range into the next "dictionary" ordering.
Definition at line 4655 of file stl_algo.h. References __glibcxx_function_requires, iter_swap(), and reverse(). |
|
Calls base.unsetf(ios_base::boolalpha).
Definition at line 796 of file ios_base.h. References ios_base::boolalpha, and ios_base::unsetf(). |
|
Calls base.unsetf(ios_base::showbase).
Definition at line 812 of file ios_base.h. References ios_base::showbase, and ios_base::unsetf(). |
|
Calls base.unsetf(ios_base::showpoint).
Definition at line 828 of file ios_base.h. References ios_base::showpoint, and ios_base::unsetf(). |
|
Calls base.unsetf(ios_base::showpos).
Definition at line 844 of file ios_base.h. References ios_base::showpos, and ios_base::unsetf(). |
|
Calls base.unsetf(ios_base::skipws).
Definition at line 860 of file ios_base.h. References ios_base::skipws, and ios_base::unsetf(). |
|
Calls base.unsetf(ios_base::unitbuf).
Definition at line 892 of file ios_base.h. References ios_base::unitbuf, and ios_base::unsetf(). |
|
Calls base.unsetf(ios_base::uppercase).
Definition at line 876 of file ios_base.h. References ios_base::unsetf(), and ios_base::uppercase. |
|
Sort a sequence just enough to find a particular position using a predicate for comparison.
[first,last) so that *nth is the same element that would have been in that position had the whole sequence been sorted. The elements either side of *nth are not completely sorted, but for any iterator in the range [first,nth) and any iterator in the range [nth,last) it holds that comp(*j,*i) is false.
Definition at line 3749 of file stl_algo.h. References __glibcxx_function_requires, __insertion_sort(), __median(), and __unguarded_partition(). |
|
Sort a sequence just enough to find a particular position.
[first,last) so that *nth is the same element that would have been in that position had the whole sequence been sorted. whole sequence been sorted. The elements either side of *nth are not completely sorted, but for any iterator in the range [first,nth) and any iterator in the range [nth,last) it holds that *j<*i is false.
Definition at line 3698 of file stl_algo.h. References __glibcxx_function_requires, __insertion_sort(), __median(), and __unguarded_partition(). |
|
Calls base.setf(ios_base::oct, ios_base::basefield).
Definition at line 942 of file ios_base.h. References ios_base::basefield, ios_base::oct, and ios_base::setf(). |
|
Global bitwise operations on bitsets.
|
|
Return false if x and y are both end or not end, or x and y are the same.
Definition at line 135 of file stream_iterator.h. References istream_iterator::_M_equal(). |
|
Based on operator==.
Definition at line 952 of file stl_vector.h. |
|
Based on operator==.
Definition at line 250 of file stl_stack.h. |
|
Returns !(x == y).
|
|
Based on operator==.
Definition at line 275 of file stl_queue.h. |
|
Uses
Definition at line 109 of file stl_pair.h. |
|
Returns !(x == y).
Definition at line 551 of file stl_multiset.h. |
|
Based on operator==.
Definition at line 644 of file stl_multimap.h. |
|
Based on operator==.
|
|
Based on operator==.
Definition at line 1214 of file stl_list.h. |
|
Based on operator==.
Definition at line 1502 of file stl_deque.h. |
|
Test difference of string and C string.
Definition at line 2193 of file basic_string.h. References basic_string::compare(). |
|
Test difference of C string and string.
Definition at line 2181 of file basic_string.h. References basic_string::compare(). |
|
Test difference of two strings.
Definition at line 2169 of file basic_string.h. References basic_string::compare(). |
|
Concatenate string and character.
Definition at line 2114 of file basic_string.h. |
|
Concatenate string and C string.
Definition at line 2098 of file basic_string.h. References basic_string::append(). |
|
Concatenate character and string.
Definition at line 681 of file basic_string.tcc. References basic_string::size(). |
|
Concatenate C string and string.
Definition at line 665 of file basic_string.tcc. References basic_string::size(). |
|
Concatenate two strings.
Definition at line 2061 of file basic_string.h. References basic_string::append(). |
|
Vector ordering relation.
< .See std::lexicographical_compare() for how the determination is made. Definition at line 945 of file stl_vector.h. References lexicographical_compare(). |
|
Stack ordering relation.
< , and std::lexicographical_compare() is usually used to make the determination.
Definition at line 244 of file stl_stack.h. |
|
Set ordering relation.
< .See std::lexicographical_compare() for how the determination is made. |
|
Queue ordering relation.
< , and std::lexicographical_compare() is usually used to make the determination.
Definition at line 269 of file stl_queue.h. |
|
<http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html#pairlt>
Definition at line 102 of file stl_pair.h. |
|
Multiset ordering relation.
< .See std::lexicographical_compare() for how the determination is made. Definition at line 544 of file stl_multiset.h. |
|
Multimap ordering relation.
< .See std::lexicographical_compare() for how the determination is made. Definition at line 637 of file stl_multimap.h. |
|
Map ordering relation.
< .See std::lexicographical_compare() for how the determination is made. |
|
List ordering relation.
< .See std::lexicographical_compare() for how the determination is made. Definition at line 1207 of file stl_list.h. References lexicographical_compare(). |
|
Deque ordering relation.
< .See std::lexicographical_compare() for how the determination is made. Definition at line 1494 of file stl_deque.h. References lexicographical_compare(). |
|
Test if C string precedes string.
Definition at line 2230 of file basic_string.h. References basic_string::compare(). |
|
Test if string precedes C string.
Definition at line 2218 of file basic_string.h. |
|
Test if string precedes string.
Definition at line 2206 of file basic_string.h. |
|
String inserters.
traits::length(s) characters starting at s, widened if necessary, followed by any required padding (as determined by [22.2.2.2.2]). out.width(0) is then called.
Definition at line 538 of file ostream.tcc. References ios_base::badbit. |
|
Character inserters.
out.width(0) is then called.
If c is of type Definition at line 478 of file ostream.tcc. References ios_base::badbit. |
|
Write string to a stream.
Definition at line 648 of file ostream.tcc. |
|
Based on operator<.
Definition at line 964 of file stl_vector.h. |
|
Based on operator<.
Definition at line 262 of file stl_stack.h. |
|
Returns !(y < x).
|
|
Based on operator<.
Definition at line 288 of file stl_queue.h. |
|
Uses
Definition at line 121 of file stl_pair.h. |
|
Returns !(y < x).
Definition at line 565 of file stl_multiset.h. |
|
Based on operator<.
Definition at line 658 of file stl_multimap.h. |
|
Based on operator<.
|
|
Based on operator<.
Definition at line 1226 of file stl_list.h. |
|
Based on operator<.
Definition at line 1516 of file stl_deque.h. |
|
Test if C string doesn't follow string.
Definition at line 2304 of file basic_string.h. References basic_string::compare(). |
|
Test if string doesn't follow C string.
Definition at line 2292 of file basic_string.h. |
|
Test if string doesn't follow string.
Definition at line 2280 of file basic_string.h. |
|
Return true if x and y are both end or not end, or x and y are the same.
Definition at line 128 of file stream_iterator.h. References istream_iterator::_M_equal(). |
|
Vector equality comparison.
Definition at line 928 of file stl_vector.h. References vector::begin(), vector::end(), equal(), and vector::size(). |
|
Stack equality comparison.
Definition at line 226 of file stl_stack.h. References stack::c. |
|
Set equality comparison.
Definition at line 537 of file stl_set.h. References set::_M_t. |
|
Queue equality comparison.
Definition at line 250 of file stl_queue.h. References queue::c. |
|
Two pairs of the same type are equal iff their members are equal.
Definition at line 96 of file stl_pair.h. References pair::first, and pair::second. |
|
Multiset equality comparison.
Definition at line 527 of file stl_multiset.h. References multiset::_M_t. |
|
Multimap equality comparison.
Definition at line 620 of file stl_multimap.h. References multimap::_M_t. |
|
Map equality comparison.
Definition at line 638 of file stl_map.h. References map::_M_t. |
|
List equality comparison.
Definition at line 1178 of file stl_list.h. References list::begin(), and list::end(). |
|
Definition at line 277 of file stl_iterator.h. References reverse_iterator::base(). |
|
Deque equality comparison.
Definition at line 1476 of file stl_deque.h. References deque::begin(), deque::end(), equal(), and deque::size(). |
|
Test equivalence of string and C string.
Definition at line 2156 of file basic_string.h. References basic_string::compare(). |
|
Test equivalence of C string and string.
Definition at line 2144 of file basic_string.h. References basic_string::compare(). |
|
Test equivalence of two strings.
Definition at line 2132 of file basic_string.h. References basic_string::compare(). |
|
Based on operator<.
Definition at line 958 of file stl_vector.h. |
|
Based on operator<.
Definition at line 256 of file stl_stack.h. |
|
Returns y < x.
|
|
Based on operator<.
Definition at line 282 of file stl_queue.h. |
|
Uses
Definition at line 115 of file stl_pair.h. |
|
Returns y < x.
Definition at line 558 of file stl_multiset.h. |
|
Based on operator<.
Definition at line 651 of file stl_multimap.h. |
|
Based on operator<.
|
|
Based on operator<.
Definition at line 1220 of file stl_list.h. |
|
Based on operator<.
Definition at line 1509 of file stl_deque.h. |
|
Test if C string follows string.
Definition at line 2267 of file basic_string.h. References basic_string::compare(). |
|
Test if string follows C string.
Definition at line 2255 of file basic_string.h. References basic_string::compare(). |
|
Test if string follows string.
Definition at line 2243 of file basic_string.h. References basic_string::compare(). |
|
Based on operator<.
Definition at line 970 of file stl_vector.h. |
|
Based on operator<.
Definition at line 268 of file stl_stack.h. |
|
Returns !(x < y).
|
|
Based on operator<.
Definition at line 295 of file stl_queue.h. |
|
Uses
Definition at line 127 of file stl_pair.h. |
|
Returns !(x < y).
Definition at line 572 of file stl_multiset.h. |
|
Based on operator<.
Definition at line 665 of file stl_multimap.h. |
|
Based on operator<.
|
|
Based on operator<.
Definition at line 1232 of file stl_list.h. |
|
Based on operator<.
Definition at line 1523 of file stl_deque.h. |
|
Test if C string doesn't precede string.
Definition at line 2341 of file basic_string.h. References basic_string::compare(). |
|
Test if string doesn't precede C string.
Definition at line 2329 of file basic_string.h. References basic_string::compare(). |
|
Test if string doesn't precede string.
Definition at line 2317 of file basic_string.h. References basic_string::compare(). |
|
Global I/O operators for bitsets. Direct I/O between streams and bitsets is supported. Output is straightforward. Input will skip whitespace, only accept '0' and '1' characters, and will only extract as many digits as the bitset will hold. Definition at line 1228 of file bitset. References bitset::_M_copy_from_string(), basic_ios::_M_setstate(), ios_base::badbit, basic_string::empty(), ios_base::eofbit, ios_base::failbit, ios_base::goodbit, basic_string::push_back(), basic_ios::rdbuf(), basic_string::reserve(), basic_streambuf::sbumpc(), basic_ios::setstate(), basic_streambuf::sputbackc(), and basic_ios::widen(). |
|
Character string extractors.
n characters and stores them into the array starting at s. n is defined as:
Characters are extracted and stored until one of the following happens:
If no characters are extracted, sets failbit. Definition at line 1050 of file istream.tcc. References basic_ios::_M_setstate(), ios_base::badbit, ios_base::eofbit, ios_base::failbit, ios_base::getloc(), ios_base::goodbit, max(), basic_ios::rdbuf(), basic_ios::setstate(), ctype_base::space, and ios_base::width(). |
|
Character extractors.
Definition at line 1023 of file istream.tcc. References basic_ios::_M_setstate(), ios_base::badbit, ios_base::eofbit, ios_base::failbit, ios_base::goodbit, basic_ios::rdbuf(), and basic_ios::setstate(). |
|
Read stream into a string.
Definition at line 1130 of file istream.tcc. References basic_ios::_M_setstate(), basic_string::append(), ios_base::badbit, ios_base::eofbit, basic_string::erase(), ios_base::failbit, ios_base::getloc(), ios_base::goodbit, basic_string::max_size(), basic_ios::rdbuf(), basic_ios::setstate(), ctype_base::space, and ios_base::width(). |
|
Global bitwise operations on bitsets.
|
|
Global bitwise operations on bitsets.
|
|
Sort the smallest elements of a sequence using a predicate for comparison.
(middle-first) elements in the range [first,last) and moves them to the range [first,middle). The order of the remaining elements in the range [middle,last) is undefined. After the sort if i and are iterators in the range [first,middle) such that precedes and is an iterator in the range [middle,last) then *comp (j,*i) and comp(*k,*i) are both false.
Definition at line 2315 of file stl_algo.h. References __glibcxx_function_requires, __pop_heap(), make_heap(), and sort_heap(). |
|
Sort the smallest elements of a sequence.
(middle-first) elements in the range [first,last) and moves them to the range [first,middle). The order of the remaining elements in the range [middle,last) is undefined. After the sort if i and are iterators in the range [first,middle) such that precedes and is an iterator in the range [middle,last) then *j<*i and *k<*i are both false.
Definition at line 2274 of file stl_algo.h. References __glibcxx_function_requires, __pop_heap(), make_heap(), and sort_heap(). Referenced by __introsort_loop(). |
|
Copy the smallest elements of a sequence using a predicate for comparison.
[first,last) to the range beginning at result_first , where the number of elements to be copied, N , is the smaller of (last-first) and (result_last-result_first). After the sort if i and are iterators in the range [result_first,result_first+N) such that precedes then comp(*j,*i) is false. The value returned is result_first+N .
Definition at line 2421 of file stl_algo.h. References __adjust_heap(), __glibcxx_function_requires, make_heap(), and sort_heap(). |
|
Copy the smallest elements of a sequence.
[first,last) to the range beginning at result_first , where the number of elements to be copied, N , is the smaller of (last-first) and (result_last-result_first). After the sort if i and are iterators in the range [result_first,result_first+N) such that precedes then *j<*i is false. The value returned is result_first+N .
Definition at line 2357 of file stl_algo.h. References __adjust_heap(), __glibcxx_function_requires, make_heap(), and sort_heap(). |
|
Return list of partial sums. Accumulates the values in the range [first,last) using operator+(). As each successive input value is added into the total, that partial sum is written to result. Therefore, the first value in result is the first value of the input, the second value in result is the sum of the first and second input values, and so on.
Definition at line 239 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Return list of partial sums. Accumulates the values in the range [first,last) using operator+(). As each successive input value is added into the total, that partial sum is written to result. Therefore, the first value in result is the first value of the input, the second value in result is the sum of the first and second input values, and so on.
Definition at line 199 of file stl_numeric.h. References __glibcxx_function_requires. |
|
Move elements for which a predicate is true to the beginning of a sequence.
pred must not modify its operand. partition() does not preserve the relative ordering of elements in each group, use stable_partition() if this is needed.
Definition at line 1874 of file stl_algo.h. References __glibcxx_function_requires, __iterator_category(), and __partition(). |
|
Pop an element off a heap using comparison functor.
Definition at line 319 of file stl_heap.h. References __glibcxx_function_requires, and __pop_heap(). |
|
Pop an element off a heap.
Definition at line 253 of file stl_heap.h. References __glibcxx_function_requires, and __pop_heap(). Referenced by priority_queue::pop(), and sort_heap(). |
|
Permute range into the previous "dictionary" ordering using comparison functor.
Definition at line 4822 of file stl_algo.h. References __glibcxx_function_requires, iter_swap(), and reverse(). |
|
Permute range into the previous "dictionary" ordering.
Definition at line 4766 of file stl_algo.h. References __glibcxx_function_requires, iter_swap(), and reverse(). |
|
Push an element onto a heap using comparison functor.
Definition at line 189 of file stl_heap.h. References __glibcxx_function_requires, and __push_heap(). |
|
Push an element onto a heap.
Definition at line 141 of file stl_heap.h. References __glibcxx_function_requires, and __push_heap(). Referenced by priority_queue::push(). |
|
Shuffle the elements of a sequence using a random number generator.
[first,last) using rand to provide a random distribution. Calling rand(N) for a positive integer N should return a randomly chosen integer from the range [0,N).
Definition at line 1780 of file stl_algo.h. References __glibcxx_function_requires, and iter_swap(). |
|
Randomly shuffle the elements of a sequence.
[first,last) using a random distribution, so that every possible ordering of the sequence is equally likely.
Definition at line 1753 of file stl_algo.h. References __glibcxx_function_requires, and iter_swap(). |
|
Remove elements from a sequence.
value are removed from the range [first,last).remove() is stable, so the relative order of elements that are not removed is unchanged.
Elements between the end of the resulting sequence and Definition at line 1098 of file stl_algo.h. References __glibcxx_function_requires, find(), and remove_copy(). |
|
Copy a sequence, removing elements of a given value.
[first,last) not equal to value to the range beginning at result . remove_copy() is stable, so the relative order of elements that are copied is unchanged.
Definition at line 1023 of file stl_algo.h. References __glibcxx_function_requires. Referenced by remove(). |
|
Copy a sequence, removing elements for which a predicate is true.
[first,last) for which pred returns true to the range beginning at result .remove_copy_if() is stable, so the relative order of elements that are copied is unchanged. Definition at line 1060 of file stl_algo.h. References __glibcxx_function_requires. Referenced by remove_if(). |
|
Remove elements from a sequence using a predicate.
pred returns true are removed from the range [first,last).remove_if() is stable, so the relative order of elements that are not removed is unchanged.
Elements between the end of the resulting sequence and Definition at line 1133 of file stl_algo.h. References __glibcxx_function_requires, find_if(), and remove_copy_if(). |
|
Replace each occurrence of one value in a sequence with another value.
i in the range [first,last) if *i == old_value then the assignment *i = new_value is performed.
Definition at line 842 of file stl_algo.h. References __glibcxx_function_requires. |
|
Copy a sequence, replacing each element of one value with another value.
[first,last) to the output range [result,result+(last-first)) replacing elements equal to old_value with new_value .
Definition at line 906 of file stl_algo.h. References __glibcxx_function_requires. |
|
Copy a sequence, replacing each value for which a predicate returns true with another value.
[first,last) to the range [result,result+(last-first)) replacing elements for which pred returns true with new_value .
Definition at line 940 of file stl_algo.h. References __glibcxx_function_requires. |
|
Replace each value in a sequence for which a predicate returns true with another value.
i in the range [first,last) if pred(*i) is true then the assignment *i = new_value is performed.
Definition at line 873 of file stl_algo.h. References __glibcxx_function_requires. |
|
Manipulator for
Definition at line 63 of file iomanip. References _Resetiosflags::_M_mask. |
|
The companion to get_temporary_buffer().
Definition at line 122 of file memory. Referenced by _Temporary_buffer::_Temporary_buffer(), and _Temporary_buffer::~_Temporary_buffer(). |
|
Reverse a sequence.
[first,last), so that the first element becomes the last etc. For every i such that 0<=i<= (last-first)/2), reverse() swaps * (first+i) and * (last-(i+1))
Definition at line 1461 of file stl_algo.h. References __glibcxx_function_requires, __iterator_category(), and __reverse(). Referenced by next_permutation(), and prev_permutation(). |
|
Copy a sequence, reversing its elements.
[first,last) to the range [result,result+(last-first)) such that the order of the elements is reversed. For every i such that 0<=i<= (last-first), reverse_copy() performs the assignment * (result+(last-first)-i) = *(first+i). The ranges [first,last) and [result,result+(last-first)) must not overlap.
Definition at line 1487 of file stl_algo.h. References __glibcxx_function_requires. |
|
Calls base.setf(ios_base::right, ios_base::adjustfield).
Definition at line 917 of file ios_base.h. References ios_base::adjustfield, ios_base::right, and ios_base::setf(). |
|
Rotate the elements of a sequence.
[first,last) by (middle-first) positions so that the element at middle is moved to first , the element at middle+1 is moved to +1 and so on for each element in the range [first,last).
This effectively swaps the ranges
Performs Definition at line 1694 of file stl_algo.h. References __glibcxx_function_requires, and __rotate(). Referenced by __inplace_stable_partition(), __merge_without_buffer(), __rotate_adaptive(), and __stable_partition_adaptive(). |
|
Copy a sequence, rotating its elements.
[first,last) to the range beginning at
* (result+(n+(last-middle))%(last-first))=*(first+n) for each n in the range [0,last-first).
Definition at line 1727 of file stl_algo.h. References __glibcxx_function_requires, and copy(). |
|
Calls base.setf(ios_base::scientific, ios_base::floatfield).
Definition at line 959 of file ios_base.h. References ios_base::floatfield, ios_base::scientific, and ios_base::setf(). |
|
Search a sequence for a matching sub-sequence using a predicate.
[first1,last1) for a sub-sequence that compares equal value-by-value with the sequence given by [first2,last2), using predicate to determine equality, and returns an iterator to the first element of the sub-sequence, or last1 if no such iterator exists.
Definition at line 547 of file stl_algo.h. References __glibcxx_function_requires. |
|
Search a sequence for a matching sub-sequence.
[first1,last1) for a sub-sequence that compares equal value-by-value with the sequence given by [first2,last2) and returns an iterator to the first element of the sub-sequence, or last1 if the sub-sequence is not found.
Because the sub-sequence must lie completely within the range Definition at line 475 of file stl_algo.h. References __glibcxx_function_requires, and find(). Referenced by __find_end(), rope::find(), and basic_string::find(). |
|
Search a sequence for a number of consecutive values using a predicate.
[first,last) for count consecutive elements for which the predicate returns true.
Definition at line 676 of file stl_algo.h. References __glibcxx_function_requires. |
|
Search a sequence for a number of consecutive values.
[first,last) for count consecutive elements equal to val .
Definition at line 624 of file stl_algo.h. References __glibcxx_function_requires, and find(). |
|
Takes a replacement handler as the argument, returns the previous handler.
|
|
Takes a new handler function as an argument, returns the old function.
|
|
Takes a new handler function as an argument, returns the old function.
|
|
Manipulator for
ios_base::basefield flags to oct , dec , or hex when base is 8, 10, or 16, accordingly, and to 0 if base is any other value.
Definition at line 132 of file iomanip. References _Setbase::_M_base. |
|
Manipulator for
fill(c) for that object.
Definition at line 174 of file iomanip. References _Setfill::_M_c. |
|
Manipulator for
Definition at line 97 of file iomanip. References _Setiosflags::_M_mask. |
|
Manipulator for
precision(n) for that object.
Definition at line 208 of file iomanip. References _Setprecision::_M_n. |
|
Manipulator for
width(n) for that object.
Definition at line 242 of file iomanip. References _Setw::_M_n. |
|
Calls base.setf(ios_base::showbase).
Definition at line 804 of file ios_base.h. References ios_base::setf(), and ios_base::showbase. |
|
Calls base.setf(ios_base::showpoint).
Definition at line 820 of file ios_base.h. References ios_base::setf(), and ios_base::showpoint. |
|
Calls base.setf(ios_base::showpos).
Definition at line 836 of file ios_base.h. References ios_base::setf(), and ios_base::showpos. |
|
Calls base.setf(ios_base::skipws).
Definition at line 852 of file ios_base.h. References ios_base::setf(), and ios_base::skipws. |
|
Sort the elements of a sequence using a predicate for comparison.
[first,last) in ascending order, such that comp (*(i+1),*i) is false for every iterator i in the range [first,last-1).
The relative ordering of equivalent elements is not preserved, use Definition at line 2590 of file stl_algo.h. References __final_insertion_sort(), __glibcxx_function_requires, __introsort_loop(), and __lg(). |
|
Sort the elements of a sequence.
[first,last) in ascending order, such that * (i+1)<*i is false for each iterator i in the range [first,last-1).
The relative ordering of equivalent elements is not preserved, use Definition at line 2556 of file stl_algo.h. References __final_insertion_sort(), __glibcxx_function_requires, __introsort_loop(), and __lg(). |
|
Sort a heap using comparison functor.
Definition at line 448 of file stl_heap.h. References __glibcxx_function_requires, and pop_heap(). |
|
Sort a heap.
Definition at line 422 of file stl_heap.h. References __glibcxx_function_requires, and pop_heap(). Referenced by partial_sort(), and partial_sort_copy(). |
|
Move elements for which a predicate is true to the beginning of a sequence, preserving relative ordering.
partition() with the additional guarantee that the relative ordering of elements in each group is preserved, so any two elements x and y in the range [first,last) such that pred(x)==pred (y) will have the same relative ordering after calling stable_partition() .
Definition at line 1985 of file stl_algo.h. References __glibcxx_function_requires, __inplace_stable_partition(), __stable_partition_adaptive(), _Temporary_buffer::begin(), _Temporary_buffer::requested_size(), and _Temporary_buffer::size(). |
|
Sort the elements of a sequence using a predicate for comparison, preserving the relative order of equivalent elements.
[first,last) in ascending order, such that comp (*(i+1),*i) is false for each iterator i in the range [first,last-1).
The relative ordering of equivalent elements is preserved, so any two elements Definition at line 3657 of file stl_algo.h. References __glibcxx_function_requires, __inplace_stable_sort(), __stable_sort_adaptive(), _Temporary_buffer::begin(), and _Temporary_buffer::size(). |
|
Sort the elements of a sequence, preserving the relative order of equivalent elements.
[first,last) in ascending order, such that * (i+1)<*i is false for each iterator i in the range [first,last-1).
The relative ordering of equivalent elements is preserved, so any two elements Definition at line 3616 of file stl_algo.h. References __glibcxx_function_requires, __inplace_stable_sort(), __stable_sort_adaptive(), _Temporary_buffer::begin(), and _Temporary_buffer::size(). |
|
See std::vector::swap().
Definition at line 976 of file stl_vector.h. References vector::swap(). |
|
See std::set::swap().
Definition at line 589 of file stl_set.h. References set::swap(). |
|
Definition at line 579 of file stl_multiset.h. References multiset::swap(). |
|
Definition at line 672 of file stl_multimap.h. References multimap::swap(). |
|
See std::map::swap().
Definition at line 690 of file stl_map.h. References map::swap(). |
|
See std::list::swap().
Definition at line 1238 of file stl_list.h. References list::swap(). |
|
See std::deque::swap().
Definition at line 1530 of file stl_deque.h. References deque::swap(). |
|
Swaps two values.
Definition at line 92 of file stl_algobase.h. References __glibcxx_function_requires. |
|
Swap contents of two strings.
Definition at line 2354 of file basic_string.h. References basic_string::swap(). Referenced by __partition(), __rotate(), __iter_swap< true >::iter_swap(), vector::swap(), _Rb_tree::swap(), list::swap(), deque::swap(), vector< bool, _Alloc >::swap(), slist::swap(), hashtable::swap(), weak_ptr::swap(), and shared_ptr::swap(). |
|
Swap the elements of two sequences.
[first1,last1) with the corresponding element in the range [first2,(last1-first1)). The ranges must not overlap.
Definition at line 737 of file stl_algo.h. References __glibcxx_function_requires, and iter_swap(). Referenced by __rotate(), and std::tr1::swap(). |
|
The runtime will call this function if exception handling must be abandoned for any reason. It can also be called by the user. |
|
Convenience interface to ctype.tolower(__c).
Definition at line 4574 of file locale_facets.h. |
|
Convenience interface to ctype.toupper(__c).
Definition at line 4568 of file locale_facets.h. |
|
Perform an operation on corresponding elements of two sequences.
* (result+N)=binary_op(*(first1+N),*(first2+N)) for each N in the range [0,last1-first1).
Definition at line 811 of file stl_algo.h. References __glibcxx_function_requires. |
|
Perform an operation on a sequence.
* (result+N)=unary_op(*(first+N)) for each N in the range [0,last-first).
Definition at line 776 of file stl_algo.h. References __glibcxx_function_requires. |
|
[18.6.4]/1: "Returns true after completing evaluation of a throw-expression until either completing initialization of the exception-declaration in the matching handler or entering
2: "When Referenced by basic_ostream::sentry::~sentry(). |
|
The runtime will call this function if an exception is thrown which violates the function's exception specification. |
|
Copies the range [first,last) into result.
Definition at line 107 of file stl_uninitialized.h. References __uninitialized_copy_aux(). Referenced by __uninitialized_copy_a(), and __gnu_cxx::__uninitialized_copy_n(). |
|
Copies the value x into the range [first,last).
Definition at line 169 of file stl_uninitialized.h. References __uninitialized_fill_aux(). Referenced by __uninitialized_fill_a(). |
|
Copies the value x into the range [first,first+n).
Definition at line 214 of file stl_uninitialized.h. References __uninitialized_fill_n_aux(). Referenced by __uninitialized_fill_n_a(), and _Temporary_buffer::_M_initialize_buffer(). |
|
Remove consecutive values from a sequence using a predicate.
binary_pred returns true. unique() is stable, so the relative order of elements that are not removed is unchanged. Elements between the end of the resulting sequence and last are still present, but their value is unspecified.
Definition at line 1378 of file stl_algo.h. References __glibcxx_function_requires, and adjacent_find(). |
|
Remove consecutive duplicate values from a sequence.
last are still present, but their value is unspecified.
Definition at line 1339 of file stl_algo.h. References __glibcxx_function_requires, and adjacent_find(). |
|
Copy a sequence, removing consecutive values using a predicate.
[first,last) to the range beginning at result , except that only the first element is copied from groups of consecutive elements for which binary_pred returns true. unique_copy() is stable, so the relative order of elements that are copied is unchanged.
Definition at line 1306 of file stl_algo.h. References __glibcxx_function_requires, and __unique_copy(). |
|
Copy a sequence, removing consecutive duplicate values.
[first,last) to the range beginning at result , except that only the first element is copied from groups of consecutive elements that compare equal. unique_copy() is stable, so the relative order of elements that are copied is unchanged.
Definition at line 1270 of file stl_algo.h. References __glibcxx_function_requires, and __unique_copy(). |
|
Calls base.setf(ios_base::unitbuf).
Definition at line 884 of file ios_base.h. References ios_base::setf(), and ios_base::unitbuf. |
|
Calls base.setf(ios_base::uppercase).
Definition at line 868 of file ios_base.h. References ios_base::setf(), and ios_base::uppercase. |
|
Return a facet. use_facet looks for and returns a reference to a facet of type Facet where Facet is the template parameter. If has_facet(locale) is true, there is a suitable facet to return. It throws std::bad_cast if the locale doesn't contain a facet of type Facet.
Definition at line 110 of file locale_facets.tcc. References locale::_M_impl. |
|
Quick and easy way to eat whitespace.
This manipulator extracts whitespace characters, stopping when the next character is non-whitespace, or when the input sequence is empty. If the sequence is empty, The current locale is used to distinguish whitespace characters. Example: will skip leading whitespace before calling operator>> on cin and your object. Note that the same effect can be achieved by creating a std::basic_istream::sentry inside your definition of operator>>.Definition at line 1106 of file istream.tcc. References ios_base::eofbit, ios_base::getloc(), basic_ios::rdbuf(), basic_ios::setstate(), and ctype_base::space. |
|
Linked to standard error (unbuffered).
|
|
Linked to standard input.
|
|
Linked to standard error (buffered).
|
|
Linked to standard output.
|
|
Linked to standard error (unbuffered).
|
|
Linked to standard input.
|
|
Linked to standard error (buffered).
|
|
Linked to standard output.
|