JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce_Functional.h File Reference
This graph shows which files directly or indirectly include this file:

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 Functor >
static constexpr auto juce::toFnPtr (Functor functor)
 Converts a captureless lambda to its equivalent function pointer type.
 
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.