1501EC14882:2003目 222.152 codecvt virtual functions....... 433 22 2.16 Class template codecvt bynane 435 2222 The numeric caegory 435 222 2.1 Class template numget 435 22.2 2.1.1 nun get members..... 437 22 22.12 nun get virtual functions........ 457 22222 Class lemplate num_put........ 439 22222】nun_put m66e5. 440 222222 nun_put virtual functions........ 440 22.2.3 The numeric punctuation facet... 443 22.2.3.1 Class lemplate numpunct............. 443 22231】nunpunct members 444 222.3.12 nunpunct virtual functions...... 445 222.3 2 Class lemplate numpunet_byname 445 22.2.4 The collate calegory 445 222.4.1 Class template collate. 445 22.2.4.1.1 collate members... 446 22.2.4.12 collate virtual functions....... 446 222.42 Class template collate_bynane 447 22 25 The time calegory 447 22.2.5.1 Class template tine_get. 447 22 2 5.1.1 ts get members... 448 2225.12 timo get virtual functions..... 449 222.5 2 Class template time_get_byname 4444444444444444444444 450 2225.3 Class template time_put. 450 22253】tin8_put他embers 451 22.2.5_32 tine put virtual functions....... 451 22.2.5.4 Class lemplate time_put_byname 451 2226 The monetary capegory... 452 2226.】Class template9ney_9●5uu 44444444444444 452 22.2.6.1.1 money get members................ 452 2226.1 2 money_get virtual fiunctions.... 452 22262 Class template mnoney_put 454 22.2.62.1 money put members.............. 454 222622 money_put virtual finctions.... 454 22 26 3 Clags template moneypunet 455 22.2.63.1 moneypunct members........... 456 222632 moneypunct virtual functions. 456 222.6.4 Class template noneypunct_bynane 457 22 2.7 The message retrieval calegory....... 458 222.7.1 Class template nessages.......... 458 222.7.1.1 messages members. 458 222.7.12 measages virtul functioes...... 439 22.2.72 Clas lemplite me ssages_byname 459 222.8 Program-defined facets.... 459 22.3 CLibrary Locales 463 23 Containers library 465 23.1 Container requirements 465 23.1.1 Sequences 468 23.1 2 Associmtive containers. 99471 。I50EC2003-Mg修eserved V
ISO/IEC 14882:2003(E) © ISO/IEC 2003 — All rights reserved xvii 22.2.1.5.2 codecvt virtual functions ......................................................................................................433 22.2.1.6 Class template codecvt_byname ...........................................................................................435 22.2.2 The numeric category .....................................................................................................................435 22.2.2.1 Class template num_get............................................................................................................435 22.2.2.1.1 num_get members ..................................................................................................................437 22.2.2.1.2 num_get virtual functions ......................................................................................................437 22.2.2.2 Class template num_put............................................................................................................439 22.2.2.2.1 num_put members ..................................................................................................................440 22.2.2.2.2 num_put virtual functions ......................................................................................................440 22.2.3 The numeric punctuation facet .......................................................................................................443 22.2.3.1 Class template numpunct..........................................................................................................443 22.2.3.1.1 numpunct members ...............................................................................................................444 22.2.3.1.2 numpunct virtual functions ....................................................................................................445 22.2.3.2 Class template numpunct_byname.........................................................................................445 22.2.4 The collate category ........................................................................................................................445 22.2.4.1 Class template collate............................................................................................................445 22.2.4.1.1 collate members ..................................................................................................................446 22.2.4.1.2 collate virtual functions ......................................................................................................446 22.2.4.2 Class template collate_byname ...........................................................................................447 22.2.5 The time category ...........................................................................................................................447 22.2.5.1 Class template time_get..........................................................................................................447 22.2.5.1.1 time_get members ...............................................................................................................448 22.2.5.1.2 time_get virtual functions ....................................................................................................449 22.2.5.2 Class template time_get_byname.........................................................................................450 22.2.5.3 Class template time_put..........................................................................................................450 22.2.5.3.1 time_put members ...............................................................................................................451 22.2.5.3.2 time_put virtual functions ....................................................................................................451 22.2.5.4 Class template time_put_byname.........................................................................................451 22.2.6 The monetary category ...................................................................................................................452 22.2.6.1 Class template money_get .......................................................................................................452 22.2.6.1.1 money_get members .............................................................................................................452 22.2.6.1.2 money_get virtual functions .................................................................................................452 22.2.6.2 Class template money_put .......................................................................................................454 22.2.6.2.1 money_put members .............................................................................................................454 22.2.6.2.2 money_put virtual functions .................................................................................................454 22.2.6.3 Class template moneypunct.....................................................................................................455 22.2.6.3.1 moneypunct members ...........................................................................................................456 22.2.6.3.2 moneypunct virtual functions ...............................................................................................456 22.2.6.4 Class template moneypunct_byname....................................................................................457 22.2.7 The message retrieval category.......................................................................................................458 22.2.7.1 Class template messages..........................................................................................................458 22.2.7.1.1 messages members ...............................................................................................................458 22.2.7.1.2 messages virtual functions ....................................................................................................459 22.2.7.2 Class template messages_byname.........................................................................................459 22.2.8 Program-defined facets ...................................................................................................................459 22.3 C Library Locales ..............................................................................................................................463 23 Containers library .................................................................................................................................465 23.1 Container requirements ......................................................................................................................465 23.1.1 Sequences .......................................................................................................................................468 23.1.2 Associative containers ....................................................................................................................471
1S01EC148822003E) 23.2 Sequences...... 474 23.2.1 Class template deque 477 23.2.1.1 deque constructors,copy.and assignment. 479 23.2.12 deque cap四cty 480 232.13 deque modifers 480 23.2.1.4 deque specialized algorithms 480 23.2.2 Class template 11st 481 23.2.2.1 11st constructors,copy,and assignmert. 483 23.222 list capacity 484 23.22.3 1ist modifiers. 484 2322411t0l06 484 23.2.2.5 list specialined algorithms. 486 23.2.3 Container adaplors 486 23.2.3.1 Class template queue. 486 23.2.3.2 Class lemplae priority queue 487 23.2.3.2.1 priority_queue constructors.. 488 23.2.3.2.2 prsority_queue members.. 488 23.2.3.3 Class templase stack. 488 23.2.4 Class lemplak vector 489 23.2.4.1 vector constructors,copy,and assignment. 491 23.24.2 veetor capacity. 492 23.2.4.3 vector modifiers 492 23.2.4.4 vector specialized algorithms. 493 23.2.5 Class vactor<bool> 493 23.3 Associative containers 495 23.3.1 Class template map 497 23.3.1.1 map coestructors,copy,and assignment.. 499 23.3.1.2 map ekment access. 500 23.3.1.3 map operations.... 500 23.3.1.4 map specialined algorithms 500 23.3.2 Class templae nultinap 500 23.3.2.1 multimap constructors 503 23.3.2.2 multimap operations 503 23.3.2.3 multimap specialined algorithes 503 23.3.3 Class template set. 503 23.3.3.I aet comrstnuactors,copy,and assignment..... 505 23.3.3.2 aet specialized algorithms 506 23.3.4 Class templake nultiset 506 23.3.4.1 multiset constructors 508 23.34.2 multiset speetaltred alporithes......................... 508 23.3.5 Class template bitset 509 23.3.5.1 bitset constructors 510 23.3.5.2 bitset members 511 23.3.5.3 bitset operalors. 514 24 lerators library 515 24.1 Iterator requirements. 5引5 24.1.1 Input ierators… 516 24.1.2 Output iteralors 517 24.1.3 Forward iterators. 518 24.1.4 Bidirectional iterators. 519 24.1.5 Random access iterators. 319 xvii ISOEC0a如一相htws4ned
ISO/IEC 14882:2003(E) xviii © ISO/IEC 2003 — All rights reserved 23.2 Sequences ..........................................................................................................................................474 23.2.1 Class template deque....................................................................................................................477 23.2.1.1 deque constructors, copy, and assignment ................................................................................479 23.2.1.2 deque capacity ...........................................................................................................................480 23.2.1.3 deque modifiers .........................................................................................................................480 23.2.1.4 deque specialized algorithms ....................................................................................................480 23.2.2 Class template list ......................................................................................................................481 23.2.2.1 list constructors, copy, and assignment ...................................................................................483 23.2.2.2 list capacity .............................................................................................................................484 23.2.2.3 list modifiers ...........................................................................................................................484 23.2.2.4 list operations ..........................................................................................................................484 23.2.2.5 list specialized algorithms .......................................................................................................486 23.2.3 Container adaptors ..........................................................................................................................486 23.2.3.1 Class template queue.................................................................................................................486 23.2.3.2 Class template priority_queue ...........................................................................................487 23.2.3.2.1 priority_queue constructors ............................................................................................488 23.2.3.2.2 priority_queue members .................................................................................................488 23.2.3.3 Class template stack.................................................................................................................488 23.2.4 Class template vector .................................................................................................................489 23.2.4.1 vector constructors, copy, and assignment ..............................................................................491 23.2.4.2 vector capacity .........................................................................................................................492 23.2.4.3 vector modifiers.......................................................................................................................492 23.2.4.4 vector specialized algorithms ..................................................................................................493 23.2.5 Class vector<bool>..................................................................................................................493 23.3 Associative containers .......................................................................................................................495 23.3.1 Class template map.........................................................................................................................497 23.3.1.1 map constructors, copy, and assignment .....................................................................................499 23.3.1.2 map element access .....................................................................................................................500 23.3.1.3 map operations ............................................................................................................................500 23.3.1.4 map specialized algorithms .........................................................................................................500 23.3.2 Class template multimap.............................................................................................................500 23.3.2.1 multimap constructors..............................................................................................................503 23.3.2.2 multimap operations ................................................................................................................503 23.3.2.3 multimap specialized algorithms .............................................................................................503 23.3.3 Class template set.........................................................................................................................503 23.3.3.1 set constructors, copy, and assignment .....................................................................................505 23.3.3.2 set specialized algorithms .........................................................................................................506 23.3.4 Class template multiset.............................................................................................................506 23.3.4.1 multiset constructors..............................................................................................................508 23.3.4.2 multiset specialized algorithms .............................................................................................508 23.3.5 Class template bitset .................................................................................................................509 23.3.5.1 bitset constructors ..................................................................................................................510 23.3.5.2 bitset members .......................................................................................................................511 23.3.5.3 bitset operators .......................................................................................................................514 24 Iterators library .....................................................................................................................................515 24.1 Iterator requirements ..........................................................................................................................515 24.1.1 Input iterators ..................................................................................................................................516 24.1.2 Output iterators ...............................................................................................................................517 24.1.3 Forward iterators .............................................................................................................................518 24.1.4 Bidirectional iterators .....................................................................................................................519 24.1.5 Random access iterators..................................................................................................................519
1s01EC14882:2003(曰 242 Header <itorator>synopsis. 520 24.3 lterator primitives 522 243.1 Iteralor traits 522 2432 Basic iterator 523 2433 Stamdard iterator tags .524 24.3.4 Iterator operations 525 24.4 Predefined iterors 1525 24.4.1 Reverse iteralors .525 24.4.1.1 Class template roverse iterator 444526 24412 reverse iterator roguiremerts 527 24.4.1 3 reverse_iterator operalions... 444.527 244131 reverse iterator constrictor 527 244.132 527 24.4.133 operator" .527 244.134 operator-> 528 244135 operator++ 528 244136 operator- 244.137 operator+ .528 244.138 operator+ 528 244139 operator- .529 2441310 operat0r-■ 44444444444444 529 244.1311 operator[] 529 244.1312 operator 11529 2441313 operator<. .529 244.13.14 operator! 529 244.13.15 operator> 529 2441316 operator> 4444530 24.413.17 operator<■ .530 244.1318 operator- 530 24.4.13.19 operator 530 24.42 Insert ierabors 444.530 24421 Class template back insert iterator 53 24 4 22 baek insert iterator operations. 24.4221 back_insert_iterator constnctor .531 244222 back insert iterator::operator 531 244223 back insert iterator::operator 531 244224 back_insert_iterator::operator++ 531 244225 back_inserter 532 24.4 23 Class template front inaertiterator 532 24.424 front_insert_iterator operations. 532 24424.1 front insert iterator contruclor. .532 244242 tront insert iterator::operator 532 244243 front insert iterator::operator" 44532 244244 tront insert iterator::operator++ .533 244245 front1ne¥t0x 533 24425 Class template insert itorator 533 24.4 26 insert iterator operatons...... .533 24.4261 insert iterator constructor 533 244262 insert iterator::operator- 244263 insert_iterator::operator" .534 244264 insert_iterator:ioperator++ 534 244265 inserter 534 QIS0EC2003一All rights reserved
ISO/IEC 14882:2003(E) © ISO/IEC 2003 — All rights reserved xix 24.2 Header <iterator> synopsis ........................................................................................................520 24.3 Iterator primitives ..............................................................................................................................522 24.3.1 Iterator traits....................................................................................................................................522 24.3.2 Basic iterator ...................................................................................................................................523 24.3.3 Standard iterator tags ......................................................................................................................524 24.3.4 Iterator operations ...........................................................................................................................525 24.4 Predefined iterators ............................................................................................................................525 24.4.1 Reverse iterators .............................................................................................................................525 24.4.1.1 Class template reverse_iterator ......................................................................................526 24.4.1.2 reverse_iterator requirements .........................................................................................527 24.4.1.3 reverse_iterator operations .............................................................................................527 24.4.1.3.1 reverse_iterator constructor .........................................................................................527 24.4.1.3.2 Conversion ................................................................................................................................527 24.4.1.3.3 operator*.............................................................................................................................527 24.4.1.3.4 operator-> ..........................................................................................................................528 24.4.1.3.5 operator++ ..........................................................................................................................528 24.4.1.3.6 operator-- ..........................................................................................................................528 24.4.1.3.7 operator+.............................................................................................................................528 24.4.1.3.8 operator+= ..........................................................................................................................528 24.4.1.3.9 operator-.............................................................................................................................529 24.4.1.3.10 operator-= ........................................................................................................................529 24.4.1.3.11 operator[] ........................................................................................................................529 24.4.1.3.12 operator== ........................................................................................................................529 24.4.1.3.13 operator<...........................................................................................................................529 24.4.1.3.14 operator!= ........................................................................................................................529 24.4.1.3.15 operator>...........................................................................................................................529 24.4.1.3.16 operator>= ........................................................................................................................530 24.4.1.3.17 operator<= ........................................................................................................................530 24.4.1.3.18 operator-...........................................................................................................................530 24.4.1.3.19 operator+...........................................................................................................................530 24.4.2 Insert iterators .................................................................................................................................530 24.4.2.1 Class template back_insert_iterator.............................................................................531 24.4.2.2 back_insert_iterator operations ....................................................................................531 24.4.2.2.1 back_insert_iterator constructor ...............................................................................531 24.4.2.2.2 back_insert_iterator::operator=........................................................................531 24.4.2.2.3 back_insert_iterator::operator*........................................................................531 24.4.2.2.4 back_insert_iterator::operator++......................................................................531 24.4.2.2.5 back_inserter ...................................................................................................................532 24.4.2.3 Class template front_insert_iterator ..........................................................................532 24.4.2.4 front_insert_iterator operations .................................................................................532 24.4.2.4.1 front_insert_iterator constructor .............................................................................532 24.4.2.4.2 front_insert_iterator::operator=......................................................................532 24.4.2.4.3 front_insert_iterator::operator*......................................................................532 24.4.2.4.4 front_insert_iterator::operator++...................................................................533 24.4.2.4.5 front_inserter.................................................................................................................533 24.4.2.5 Class template insert_iterator.........................................................................................533 24.4.2.6 insert_iterator operations ................................................................................................533 24.4.2.6.1 insert_iterator constructor ...........................................................................................533 24.4.2.6.2 insert_iterator::operator=....................................................................................533 24.4.2.6.3 insert_iterator::operator*....................................................................................534 24.4.2.6.4 insert_iterator::operator++..................................................................................534 24.4.2.6.5 inserter ...............................................................................................................................534
1S01EC148822003E) 24.5 Stream iterators.. 534 24.5.1 Class template istreamiterator 534 24.5.1.1 istrean_iterator constructors and destructor. 535 24.5.1.2 istrean iterator operations.... 535 24.5.2 Class template ostream_iterator.... 536 24.5.2.1 ostrean iterator constructors and destructor. 537 24.5.2.2 ostrean_iterator operations.... 537 24.5.3 Class templae istreambuf iterator...... 537 24.5.3.1 Class template istreambuf iterator::proxy 538 24.5.32 istreanbur sterator comtrclors.. 539 24.5.3.3 istreanbuf_iterator::operator" 539 24.5.3.4 1streanbur itarator::operator++ 539 24.5.3.5 istreanbuf iterator:equal...... 539 24.5.368p●rat0r- 539 24.5.3.7 operator!". 539 24.5.4 Class template ostreambur iterator 540 24.5.4.1 ostreanbuf iterator comtruclors 540 24.5.4.2 ostreanbuf iterator operations. 540 25 Algorithms libeary 543 25.1 Non-modifying sequence operaftions... 551 25.1.1 For each....... 551 44444444444444444444444444444 552 25.1.3 Find End... 552 25.14 Find First. 552 25.1.5 Adpacent find 553 25.1.6C0Ul. 553 25.1.7 Mismatch 553 25.1.8Fql4a4 4444444444444444444444 554 25.1.9 Search...... 554 25.2 Mutating sequence operations 555 252.1C0py 555 25.2.2 S弹P… 555 252.3 Trantsfoem 556 25.2.4 Replace... 556 252.5Fdl. 557 25.2.6 Generane...... 557 25.2.7 Remove 557 25.2.8 Unique.... 558 25.2.9 Reverse 558 25.2.10 Rotate.......... 559 252.11 559 252.12 Partitions..... 560 25.3 Sorting and related operations 560 25.3.1 Sorting 56 25.3.1.1a0rt. 561 25.3.128tab1e80rt 561 25.3.1.3 partial sort. 56l 25.3.14 partial_sort_copy 562 25.3.2 Nth element......... 562 25.3.3 Binary scarch 562 ●50MEC200g-A相hts neserved
ISO/IEC 14882:2003(E) xx © ISO/IEC 2003 — All rights reserved 24.5 Stream iterators ..................................................................................................................................534 24.5.1 Class template istream_iterator .........................................................................................534 24.5.1.1 istream_iterator constructors and destructor ...................................................................535 24.5.1.2 istream_iterator operations .............................................................................................535 24.5.2 Class template ostream_iterator .........................................................................................536 24.5.2.1 ostream_iterator constructors and destructor ...................................................................537 24.5.2.2 ostream_iterator operations .............................................................................................537 24.5.3 Class template istreambuf_iterator ..................................................................................537 24.5.3.1 Class template istreambuf_iterator::proxy ..............................................................538 24.5.3.2 istreambuf_iterator constructors ...................................................................................539 24.5.3.3 istreambuf_iterator::operator* .............................................................................539 24.5.3.4 istreambuf_iterator::operator++...........................................................................539 24.5.3.5 istreambuf_iterator::equal.......................................................................................539 24.5.3.6 operator== .............................................................................................................................539 24.5.3.7 operator!= .............................................................................................................................539 24.5.4 Class template ostreambuf_iterator ..................................................................................540 24.5.4.1 ostreambuf_iterator constructors ...................................................................................540 24.5.4.2 ostreambuf_iterator operations ......................................................................................540 25 Algorithms library ................................................................................................................................543 25.1 Non-modifying sequence operations .................................................................................................551 25.1.1 For each ..........................................................................................................................................551 25.1.2 Find .................................................................................................................................................552 25.1.3 Find End..........................................................................................................................................552 25.1.4 Find First.........................................................................................................................................552 25.1.5 Adjacent find ..................................................................................................................................553 25.1.6 Count...............................................................................................................................................553 25.1.7 Mismatch ........................................................................................................................................553 25.1.8 Equal ...............................................................................................................................................554 25.1.9 Search .............................................................................................................................................554 25.2 Mutating sequence operations ...........................................................................................................555 25.2.1 Copy ................................................................................................................................................555 25.2.2 Swap ...............................................................................................................................................555 25.2.3 Transform .......................................................................................................................................556 25.2.4 Replace ...........................................................................................................................................556 25.2.5 Fill ...................................................................................................................................................557 25.2.6 Generate ..........................................................................................................................................557 25.2.7 Remove ...........................................................................................................................................557 25.2.8 Unique.............................................................................................................................................558 25.2.9 Reverse ...........................................................................................................................................558 25.2.10 Rotate ............................................................................................................................................559 25.2.11 Random shuffle .............................................................................................................................559 25.2.12 Partitions .......................................................................................................................................560 25.3 Sorting and related operations ...........................................................................................................560 25.3.1 Sorting.............................................................................................................................................561 25.3.1.1 sort............................................................................................................................................561 25.3.1.2 stable_sort...........................................................................................................................561 25.3.1.3 partial_sort.........................................................................................................................561 25.3.1.4 partial_sort_copy.............................................................................................................562 25.3.2 Nth element .....................................................................................................................................562 25.3.3 Binary search ..................................................................................................................................562
1S01EC14882:2003(曰 2533.1 lower_bound. 562 25332 upper bound. 563 25333 equal range 563 25334 binary_search 563 2534 Merge.... 564 2535 Set operations on sorted structures...... 564 25351 ineludes 565 25352 set unfon 565 25353 set intersection 565 25354 set_difference. 566 25355 set_symmetric_dirference 566 253.6 Heap operations 565 25361 push heap 567 25362 pop heap 567 25363 make heap 567 25364 sort heap. 567 25.3.7 Minimum and maximum 568 2538 Lexicographical comparison 568 2539 Permutatio箱gencrators 569 254 C library algorithms. 26 Numerics library 571 26.】Numerie type requirements. 44457 262 Complex mumbers 2621 Header <eoaplex>synopsis …372 2622 Class template complex. .573 2623 complex specializations. .574 2624 complex member functions............ 575 2625 conplex memb起r0 erators. 575 2626 complex non-member operations 576 262.7 conplex value operations. 578 2628 complex transeendentals. .578 26 3 Numerie amays. 4579 263.1 Header cva1a¥¥ay>nopsis .579 26 32 Class template valarray 582 263 2.1 valarray constructors 584 26322 valarray assignment..................... 584 2632 3 valarray element access... 585 26324 valarray suboet operations 585 26325 valarray urary operators 586 26326 valarray compuled assiprment 586 26327 valarray member functions...... 587 26 33 valarray noe-member operations 588 26 3 3.1 valarray binary operators...... 588 26332 valarray logkal operators.… 589 26333 valarray transcendentals. 590 2634 Class slice 590 263.4.1 slice constructors. 591 26_3.4 2 slice access functions.... 591 2635 Class template alice_array 591 ISOnEC 2003-All rights reserved ad
ISO/IEC 14882:2003(E) © ISO/IEC 2003 — All rights reserved xxi 25.3.3.1 lower_bound...........................................................................................................................562 25.3.3.2 upper_bound...........................................................................................................................563 25.3.3.3 equal_range...........................................................................................................................563 25.3.3.4 binary_search ......................................................................................................................563 25.3.4 Merge ..............................................................................................................................................564 25.3.5 Set operations on sorted structures .................................................................................................564 25.3.5.1 includes ..................................................................................................................................565 25.3.5.2 set_union................................................................................................................................565 25.3.5.3 set_intersection...............................................................................................................565 25.3.5.4 set_difference....................................................................................................................566 25.3.5.5 set_symmetric_difference............................................................................................566 25.3.6 Heap operations ..............................................................................................................................566 25.3.6.1 push_heap................................................................................................................................567 25.3.6.2 pop_heap ..................................................................................................................................567 25.3.6.3 make_heap................................................................................................................................567 25.3.6.4 sort_heap................................................................................................................................567 25.3.7 Minimum and maximum ................................................................................................................568 25.3.8 Lexicographical comparison ...........................................................................................................568 25.3.9 Permutation generators ...................................................................................................................569 25.4 C library algorithms ...........................................................................................................................569 26 Numerics library ...................................................................................................................................571 26.1 Numeric type requirements ................................................................................................................571 26.2 Complex numbers ..............................................................................................................................572 26.2.1 Header <complex> synopsis .......................................................................................................572 26.2.2 Class template complex...............................................................................................................573 26.2.3 complex specializations ...............................................................................................................574 26.2.4 complex member functions..........................................................................................................575 26.2.5 complex member operators..........................................................................................................575 26.2.6 complex non-member operations ................................................................................................576 26.2.7 complex value operations ............................................................................................................578 26.2.8 complex transcendentals ..............................................................................................................578 26.3 Numeric arrays ...................................................................................................................................579 26.3.1 Header <valarray> synopsis .....................................................................................................579 26.3.2 Class template valarray.............................................................................................................582 26.3.2.1 valarray constructors..............................................................................................................584 26.3.2.2 valarray assignment ...............................................................................................................584 26.3.2.3 valarray element access .........................................................................................................585 26.3.2.4 valarray subset operations .....................................................................................................585 26.3.2.5 valarray unary operators ........................................................................................................586 26.3.2.6 valarray computed assignment ..............................................................................................586 26.3.2.7 valarray member functions ....................................................................................................587 26.3.3 valarray non-member operations ..............................................................................................588 26.3.3.1 valarray binary operators .......................................................................................................588 26.3.3.2 valarray logical operators ......................................................................................................589 26.3.3.3 valarray transcendentals.........................................................................................................590 26.3.4 Class slice...................................................................................................................................590 26.3.4.1 slice constructors .....................................................................................................................591 26.3.4.2 slice access functions ..............................................................................................................591 26.3.5 Class template slice_array .....................................................................................................591