Audio Processing Framework (APF) version 0.5.0
Classes | Namespaces | Macros
misc.h File Reference

Miscellaneous helper classes. More...

#include <utility>
#include <type_traits>

Go to the source code of this file.

Classes

class  apf::CRTP< Derived >
 Curiously Recurring Template Pattern (CRTP) base class. More...
 
class  apf::NonCopyable
 Classes derived from this class cannot be copied (but still moved). More...
 
class  apf::BlockParameter< T >
 Hold current and old value of any type. More...
 

Namespaces

namespace  apf
 Audio Processing Framework.
 

Macros

#define APF_BLOCKPARAMETER_BOTH_PROXY_OPERATORS(opstring)
 

Detailed Description

Miscellaneous helper classes.

Definition in file misc.h.

Macro Definition Documentation

◆ APF_BLOCKPARAMETER_BOTH_PROXY_OPERATORS

#define APF_BLOCKPARAMETER_BOTH_PROXY_OPERATORS (   opstring)
Value:
friend bool operator opstring(const both_proxy& lhs, const T& rhs) { \
return lhs._p.get() opstring rhs && lhs._p.old() opstring rhs; } \
friend bool operator opstring(const T& lhs, const both_proxy& rhs) { \
return lhs opstring rhs._p.get() && lhs opstring rhs._p.old(); }

Definition at line 154 of file misc.h.