Open main menu

CDOT Wiki β

Changes

Team Darth Vector

20 bytes added, 18:41, 13 December 2017
m
List of STL Functions:
===List of STL Functions:===
<u>'''Algorithms'''</u>
Are supported by STL for various algorithms such as sorting, searching and accumulation. All can be found within the header "'''<algorithm>'''". Examples include sort() and reverse functions()
<u>'''STL iterators'''</u>
Are supported for serial traversal. Should you use an iterator in parallel, you must be cautious to not change the data while a thread is going through the iterator.
They are defined within te header "'''<iterator>'''" and is coded as
</pre>
<u>'''Containers'''</u>
STL supports a variety of containers for data storage. Generally these containers are supported in parallel for read actions, but does not safely support writing to the container with or without reading at the same time. There are several header files that are included such as "'''<vector>'''", "'''<queue>'''", and "'''<deque>'''".
129
edits