123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- #ifndef BOOST_ICL_DESIGN_CONFIG_HPP_JOFA_090214
- #define BOOST_ICL_DESIGN_CONFIG_HPP_JOFA_090214
- #define ICL_USE_COMPARE_TEMPLATE_TEMPLATE
- #define ICL_USE_COMBINE_TEMPLATE_TEMPLATE
- #define ICL_USE_SECTION_TEMPLATE_TEMPLATE
- #ifdef ICL_USE_COMPARE_TEMPLATE_TEMPLATE
- # define ICL_COMPARE template<class>class
- # define ICL_COMPARE_DOMAIN(itl_compare, domain_type) itl_compare<domain_type>
- # define ICL_COMPARE_INSTANCE(compare_instance, domain_type) compare_instance
- # define ICL_EXCLUSIVE_LESS(interval_type) exclusive_less_than
- #else
- # define ICL_COMPARE class
- # define ICL_COMPARE_DOMAIN(itl_compare, domain_type) itl_compare
- # define ICL_COMPARE_INSTANCE(compare_instance, domain_type) compare_instance<domain_type>
- # define ICL_EXCLUSIVE_LESS(interval_type) exclusive_less_than<interval_type>
- #endif
- #ifdef ICL_USE_COMBINE_TEMPLATE_TEMPLATE
- # define ICL_COMBINE template<class>class
- # define ICL_COMBINE_CODOMAIN(itl_combine, codomain_type) itl_combine<codomain_type>
- # define ICL_COMBINE_INSTANCE(combine_instance,codomain_type) combine_instance
- #else
- # define ICL_COMBINE class
- # define ICL_COMBINE_CODOMAIN(itl_combine, codomain_type) itl_combine
- # define ICL_COMBINE_INSTANCE(combine_instance,codomain_type) combine_instance<codomain_type>
- #endif
- #ifdef ICL_USE_SECTION_TEMPLATE_TEMPLATE
- # define ICL_SECTION template<class>class
- # define ICL_SECTION_CODOMAIN(itl_intersect, codomain_type) itl_intersect<codomain_type>
- # define ICL_SECTION_INSTANCE(section_instance,codomain_type) section_instance
- #else
- # define ICL_SECTION class
- # define ICL_SECTION_CODOMAIN(itl_intersect, codomain_type) itl_intersect
- # define ICL_SECTION_INSTANCE(section_instance,codomain_type) section_instance<codomain_type>
- #endif
- #ifdef ICL_USE_INTERVAL_TEMPLATE_TEMPLATE
- # define ICL_INTERVAL(itl_compare) template<class,itl_compare>class
- # define ICL_INTERVAL2(itl_compare) template<class DomT2,itl_compare>class
- # define ICL_INTERVAL_TYPE(itl_interval, domain_type, itl_compare) itl_interval<domain_type,itl_compare>
- # define ICL_INTERVAL_INSTANCE(interval_instance,domain_type,itl_compare) interval_instance
- #else
- # define ICL_INTERVAL(itl_compare) class
- # define ICL_INTERVAL2(itl_compare) class
- # define ICL_INTERVAL_TYPE(itl_interval, domain_type, itl_compare) itl_interval
- # define ICL_INTERVAL_INSTANCE(interval_instance,domain_type,itl_compare) typename interval_instance<domain_type,itl_compare>::type
- #endif
- #define ICL_ALLOC template<class>class
- #define ICL_INTERVAL_DEFAULT boost::icl::interval_type_default
- #ifndef BOOST_ICL_USE_COMPARE_STD_GREATER
- # define ICL_COMPARE_DEFAULT std::less
- #else
- # define ICL_COMPARE_DEFAULT std::greater
- #endif
- #endif
|