Skip to content

aaron-michaux/stl-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stl-algorithms

Tested gcc-7 and clang-6.0

About

Just playing around with C++ to better understand the standard library.

// For everything below:
#include "algorithm.hxx" 

// ------- Non-modifying sequence operations
// all_of, any_of, none_of
// for_each, for_each_n
// count, count_if
// mismatch
// find, find_if, find_if_not
// search, find_end,
// find_first_of
// adjacent_find
// search_n

// ------- Non-modifying sequence operations
// copy, copy_if, copy_n, copy_backward
// move, move_backward
// fill, fill_n
// transform
// generate, generate_n
// remove, remove_if, remove_copy, remove_copy_if
// replace, replace_if, replace_copy, replace_copy_if
// iter_swap
// swap_ranges
// reverse, reverse_copy
// rotate, rotate_copy
// shift_left, shift_right
// shuffle
// SKIPPED <sample>
// unique

// ------- Partitioning operations
// is_partitioned
// partition, partition_copy
// stable_partition
// partition_point

// ------- Heap operations
// is_heap, is_heap_until
// make_heap
// push_heap
// pop_heap
// sort_heap

// ------- Binary search operations
// lower_bound, upper_bound
// binary_search
// equal_range

// ------- Sorting operations
// merge, inplace_merge
// is_sorted, is_sorted_until
// sort, stable_sort
// nth_element
// partial_sort, partial_sort_copy

// ------- Set operations
// includes
// set_difference
// set_intersection
// set_symmetric_difference
// set_union

// ------- Min/max operations
// max_element, min_element, minmax_element
// max, min, minmax
// clamp

// ------- Permutation Operations
// is_permutation
// next_permutation, prev_permutation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published