/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* easyfind.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/15 05:53:04 by charles #+# #+# */ /* Updated: 2020/04/15 06:47:27 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef EASYFIND_HPP # define EASYFIND_HPP # include template typename T::iterator easyfind(T& container, int x) { return std::find(container.begin(), container.end(), x); } #endif