92# define DECLARE_PRIMITIVE(T) \
94 bool is_primitive_type <T> () \
133# define DECLARE_SWAP(T) \
134 template <> T & swap <T> (T & t1, T & t2) \
#define DECLARE_SWAP(T)
Macro to declare optimized swap for primitive type.
#define DECLARE_PRIMITIVE(T)
Macro to declare a type as primitive.
DynList & swap(DynList &l) noexcept
Swap this with l.
Main namespace for Aleph-w library functions.
T & swap(T &t1, T &t2)
Generic swap using object's swap method.
std::decay_t< typename HeadC::Item_Type > T
bool is_primitive_type()
Check if type T is a primitive C++ type.
DynList< T > maps(const C &c, Op op)
Classic map operation.