This commit is contained in:
jeanlemotan
2024-07-02 18:06:33 +02:00
commit 8297b0b45f
157 changed files with 24865 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include "tl/detail/prologue.h"
#include "tl/type_traits.h"
#include "tl/iterator.h"
#include <algorithm>
namespace tl
{
//////////////////////////////////////////////////////////////////////////
// for_each()
//
// Container-based version of the <algorithm> `std::for_each()` function to
// apply a function to a container's elements.
template <typename C, typename Function>
decay_t<Function> for_each(C&& c, Function&& f) noexcept;
//////////////////////////////////////////////////////////////////////////
} // end namespace tl