30-seconds-of-cpp
30-seconds-of-cpp copied to clipboard
30 Seconds of C++ (STL in C++). Read More about 30C++ here 👉
30 Seconds of C++
30 Seconds Of Standard Template Library in C++
A collection of C++ STL features (functions/libraries) which can be learned in 30 seconds or less
Header Files
- algorithm :sparkles:
- list :page_with_curl:
- map :world_map:
- queue :large_blue_circle:
- set :zap:
- stack :books:
- unordered_map :world_map:
- vector :arrow_upper_right:
Algorithm
View contents
accumulateadjacent_differenceadjacent_findall_ofany_ofbinary_searchclampcopycopy_backwardcopy_ifcopy_ncountcount_ifequalequal_rangefillfill_nfindfind_first_offind_iffind_if_notfor_eachfor_each_ngenerateincludesiotais_heapis_permutationis_sortediter_swaplexicographical_comparelinear_searchlower_boundmake_heapmaxmax_elementmergeminmin_elementminimax_elementminmaxminmax_elementmismatchmovenext_permutationnone_ofnth_elementpartitionpop_heapprev_permutationpush_heaprandom_shuffleremoveremove_copyremove_copy_ifremove_ifreplacereplace_copyreplace_copy_ifreplace_ifreversereverse_copyrotatesearchsearch_nset_differenceset_intersectionset_unionshufflesortstable_sortswaptransformtransform_reduceuniqueupper_bound
List
View contents
assignbackbegincbegincendclearcrbegincrendemplaceemplace_backemptyenderasefrontinsertmax_sizemergepop_frontrbeginremoverendresizereversesizesortspliceswapunique
Map
View contents
begincbegincendclearcontainscountcrbegincrendemplaceemplace_hintemptyenderasefindinsertlower_boundmax_sizerbeginrendsizeswapupper_bound
Queue
View contents
backemplaceemptyfrontpoppushqueuesizeswap
Set
View contents
begincbegincendclearcontainscountemplaceemplace_hintemptyendequal_rangeerasefindinsertlower_boundmax_sizerbeginrendsizeswapupper_bound
Stack
View contents
emplaceemptypoppushsizeswaptop
Unordered_map
View contents
counterasefindinsertsize
Vector
View contents
Vectorassignatbackbegincapacitycbegincendclearcrbegindataemplaceemplace_backemptyenderasefrontget_allocatorinsertmax_sizepop_backpush_backrbeginrendreserveresizeshrink_to_fitsizesortswap
:speaking_head: Community
Join other C++ enthusiasts on
:globe_with_meridians: 30 Seconds of Knowledge
Experience 30 Seconds of C++ as a Web Extension built by Stefan Petrovic
- A big thanks to Shriam Kaushik for the lovely new logo :heart:
Author
:bust_in_silhouette: Bhupesh Varshney
- Twitter: @bhupeshimself
- DEV: bhupesh
:memo: License
This project is licensed under the MIT License. See the LICENSE file for details.
:wave: Contributing
Please read the updated CONTRIBUTING for the process for submitting pull requests to us.