Loading...
Searching...
No Matches
juce_Functional.h File Reference

Classes

struct  juce::NullCheckedInvocation
 Some helper methods for checking a callable object before invoking with the specified arguments. More...

Namespaces

namespace  juce

Typedefs

template<typename A, typename B>
using juce::DisableIfSameOrDerived = std::enable_if_t<! std::is_base_of_v<A, std::remove_reference_t<B>>>
 Can be used to disable template constructors that would otherwise cause ambiguity with compiler-generated copy and move constructors.

Functions

template<typename Object, typename OtherObject, typename Member, typename Other>
Object juce::withMember (Object copy, Member OtherObject::*member, Other &&value)
 Copies an object, sets one of the copy's members to the specified value, and then returns the copy.
template<typename Functor>
static constexpr auto juce::toFnPtr (Functor functor)
 Converts a captureless lambda to its equivalent function pointer type.
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram