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.
Main namespace for Aleph-w library functions.
T & swap(T &t1, T &t2)
Generic swap using object's swap method.
Divide_Conquer_DP_Result< Cost > divide_and_conquer_partition_dp(const size_t groups, const size_t n, Transition_Cost_Fn transition_cost, const Cost inf=dp_optimization_detail::default_inf< Cost >())
Optimize partition DP using divide-and-conquer optimization.
std::decay_t< typename HeadC::Item_Type > T
bool is_primitive_type()
Check if type T is a primitive C++ type.