Loading...
Searching...
No Matches
Namespaces | Functions
apply_all.h File Reference
#include "concepts/util.h"
#include "util/attribute_value.h"
#include "util/type_traits.h"
#include "util/reflection.h"
#include "util/named.h"

Go to the source code of this file.

Namespaces

namespace  bbm
 

Functions

template<typename FUNC , typename... T>
requires ( !std::is_void_v< find_first<bbm::detail::has_reflection, T...> > || // is reflection type OR !std::is_void_v< find_first<bbm::detail::is_gettable, T...> > || // is gettable type OR requires(const FUNC& func, const T&... t) {{func(value(t)...)};} // supports direct call )
auto apply_all (const FUNC &func, const T &... t)
 Apply a function.