Add some set functions defined on t_vec
authorLukas Jiriste <ljiriste@student.42prague.com>
Fri, 28 Jun 2024 11:51:06 +0000 (13:51 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 28 Jun 2024 15:10:18 +0000 (17:10 +0200)
commitd428313785c2b3bec95bbb21af840d2defe58676
tree1c5eb2a2a8fce4e58775c15e3b015303f39faea1
parenta4d9777bb6409a73f0d7f372e0b437963b54e7ba
Add some set functions defined on t_vec

The functions are defined on t_vec instead of implementing t_set
because the t_set struct would not be very useful. The lack of
structure is easy to emulate wth t_vec. The only advantage would be
uniqueness of elements.
Makefile
ft_arr/ft_vec_contains.c [new file with mode: 0644]
ft_arr/ft_vec_is_setequal.c [new file with mode: 0644]
ft_arr/ft_vec_is_subset.c [new file with mode: 0644]
inc/ft_arr.h