diff options
-rw-r--r-- | devel/boost-build/buildlink3.mk | 4 | ||||
-rw-r--r-- | devel/boost-headers/Makefile | 4 | ||||
-rw-r--r-- | devel/boost-headers/PLIST | 137 | ||||
-rw-r--r-- | devel/boost-headers/buildlink3.mk | 4 | ||||
-rw-r--r-- | devel/boost-jam/buildlink3.mk | 4 | ||||
-rw-r--r-- | devel/boost-libs/Makefile | 3 | ||||
-rw-r--r-- | devel/boost-libs/buildlink3.mk | 4 | ||||
-rw-r--r-- | devel/boost-python/buildlink3.mk | 6 | ||||
-rw-r--r-- | meta-pkgs/boost/Makefile.common | 4 | ||||
-rw-r--r-- | meta-pkgs/boost/distinfo | 14 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_foreach.hpp | 24 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_foreach_fwd.hpp | 48 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_numeric__cast__traits.hpp | 176 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits.hpp | 1756 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__common.hpp | 1746 | ||||
-rw-r--r-- | meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__long__long.hpp | 352 |
16 files changed, 129 insertions, 4157 deletions
diff --git a/devel/boost-build/buildlink3.mk b/devel/boost-build/buildlink3.mk index c245260e40a..7b9ef97ad11 100644 --- a/devel/boost-build/buildlink3.mk +++ b/devel/boost-build/buildlink3.mk @@ -1,11 +1,11 @@ -# $NetBSD: buildlink3.mk,v 1.20 2012/01/08 11:35:07 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.21 2012/02/29 14:22:23 hans Exp $ BUILDLINK_TREE+= boost-build .if !defined(BOOST_BUILD_BUILDLINK3_MK) BOOST_BUILD_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.boost-build+= boost-build-1.48.* +BUILDLINK_API_DEPENDS.boost-build+= boost-build-1.49.* BUILDLINK_DEPMETHOD.boost-build?= build BUILDLINK_PKGSRCDIR.boost-build?= ../../devel/boost-build .endif # BOOST_BUILD_BUILDLINK3_MK diff --git a/devel/boost-headers/Makefile b/devel/boost-headers/Makefile index 4e53dc96a20..08ee3cd30e0 100644 --- a/devel/boost-headers/Makefile +++ b/devel/boost-headers/Makefile @@ -1,6 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2012/02/16 18:24:13 hans Exp $ - -PKGREVISION= 2 +# $NetBSD: Makefile,v 1.20 2012/02/29 14:22:23 hans Exp $ BOOST_PACKAGE= headers BOOST_COMMENT= (build-time headers) diff --git a/devel/boost-headers/PLIST b/devel/boost-headers/PLIST index 26c0f93e6fd..45c1324bb5e 100644 --- a/devel/boost-headers/PLIST +++ b/devel/boost-headers/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.18 2012/02/16 18:24:13 hans Exp $ +@comment $NetBSD: PLIST,v 1.19 2012/02/29 14:22:23 hans Exp $ include/boost/accumulators/accumulators.hpp include/boost/accumulators/accumulators_fwd.hpp include/boost/accumulators/framework/accumulator_base.hpp @@ -260,6 +260,7 @@ include/boost/asio/basic_socket_streambuf.hpp include/boost/asio/basic_stream_socket.hpp include/boost/asio/basic_streambuf.hpp include/boost/asio/basic_streambuf_fwd.hpp +include/boost/asio/basic_waitable_timer.hpp include/boost/asio/buffer.hpp include/boost/asio/buffered_read_stream.hpp include/boost/asio/buffered_read_stream_fwd.hpp @@ -282,9 +283,11 @@ include/boost/asio/detail/buffer_resize_guard.hpp include/boost/asio/detail/buffer_sequence_adapter.hpp include/boost/asio/detail/buffered_stream_storage.hpp include/boost/asio/detail/call_stack.hpp +include/boost/asio/detail/chrono_time_traits.hpp include/boost/asio/detail/completion_handler.hpp include/boost/asio/detail/config.hpp include/boost/asio/detail/consuming_buffers.hpp +include/boost/asio/detail/date_time_fwd.hpp include/boost/asio/detail/deadline_timer_service.hpp include/boost/asio/detail/dependent_type.hpp include/boost/asio/detail/descriptor_ops.hpp @@ -338,6 +341,7 @@ include/boost/asio/detail/impl/task_io_service.hpp include/boost/asio/detail/impl/task_io_service.ipp include/boost/asio/detail/impl/throw_error.ipp include/boost/asio/detail/impl/timer_queue.ipp +include/boost/asio/detail/impl/timer_queue_ptime.ipp include/boost/asio/detail/impl/timer_queue_set.ipp include/boost/asio/detail/impl/win_event.ipp include/boost/asio/detail/impl/win_iocp_handle_service.ipp @@ -346,6 +350,7 @@ include/boost/asio/detail/impl/win_iocp_io_service.ipp include/boost/asio/detail/impl/win_iocp_serial_port_service.ipp include/boost/asio/detail/impl/win_iocp_socket_service_base.ipp include/boost/asio/detail/impl/win_mutex.ipp +include/boost/asio/detail/impl/win_object_handle_service.ipp include/boost/asio/detail/impl/win_static_mutex.ipp include/boost/asio/detail/impl/win_thread.ipp include/boost/asio/detail/impl/win_tss_ptr.ipp @@ -425,15 +430,16 @@ include/boost/asio/detail/task_io_service_fwd.hpp include/boost/asio/detail/task_io_service_operation.hpp include/boost/asio/detail/thread.hpp include/boost/asio/detail/throw_error.hpp -include/boost/asio/detail/timer_op.hpp include/boost/asio/detail/timer_queue.hpp include/boost/asio/detail/timer_queue_base.hpp include/boost/asio/detail/timer_queue_fwd.hpp +include/boost/asio/detail/timer_queue_ptime.hpp include/boost/asio/detail/timer_queue_set.hpp include/boost/asio/detail/timer_scheduler.hpp include/boost/asio/detail/timer_scheduler_fwd.hpp include/boost/asio/detail/tss_ptr.hpp include/boost/asio/detail/wait_handler.hpp +include/boost/asio/detail/wait_op.hpp include/boost/asio/detail/weak_ptr.hpp include/boost/asio/detail/win_event.hpp include/boost/asio/detail/win_fd_set_adapter.hpp @@ -456,6 +462,7 @@ include/boost/asio/detail/win_iocp_socket_send_op.hpp include/boost/asio/detail/win_iocp_socket_service.hpp include/boost/asio/detail/win_iocp_socket_service_base.hpp include/boost/asio/detail/win_mutex.hpp +include/boost/asio/detail/win_object_handle_service.hpp include/boost/asio/detail/win_static_mutex.hpp include/boost/asio/detail/win_thread.hpp include/boost/asio/detail/win_tss_ptr.hpp @@ -465,6 +472,7 @@ include/boost/asio/detail/wrapped_handler.hpp include/boost/asio/error.hpp include/boost/asio/handler_alloc_hook.hpp include/boost/asio/handler_invoke_hook.hpp +include/boost/asio/high_resolution_timer.hpp include/boost/asio/impl/connect.hpp include/boost/asio/impl/error.ipp include/boost/asio/impl/io_service.hpp @@ -569,14 +577,21 @@ include/boost/asio/ssl/stream_base.hpp include/boost/asio/ssl/stream_service.hpp include/boost/asio/ssl/verify_context.hpp include/boost/asio/ssl/verify_mode.hpp +include/boost/asio/steady_timer.hpp include/boost/asio/strand.hpp include/boost/asio/stream_socket_service.hpp include/boost/asio/streambuf.hpp +include/boost/asio/system_timer.hpp include/boost/asio/time_traits.hpp include/boost/asio/version.hpp +include/boost/asio/wait_traits.hpp +include/boost/asio/waitable_timer_service.hpp include/boost/asio/windows/basic_handle.hpp +include/boost/asio/windows/basic_object_handle.hpp include/boost/asio/windows/basic_random_access_handle.hpp include/boost/asio/windows/basic_stream_handle.hpp +include/boost/asio/windows/object_handle.hpp +include/boost/asio/windows/object_handle_service.hpp include/boost/asio/windows/overlapped_ptr.hpp include/boost/asio/windows/random_access_handle.hpp include/boost/asio/windows/random_access_handle_service.hpp @@ -740,12 +755,14 @@ include/boost/chrono/detail/inlined/win/chrono.hpp include/boost/chrono/detail/inlined/win/process_cpu_clocks.hpp include/boost/chrono/detail/inlined/win/thread_clock.hpp include/boost/chrono/detail/is_evenly_divisible_by.hpp +include/boost/chrono/detail/no_warning/signed_unsigned_cmp.hpp include/boost/chrono/detail/scan_keyword.hpp include/boost/chrono/detail/static_assert.hpp include/boost/chrono/detail/system.hpp include/boost/chrono/duration.hpp include/boost/chrono/floor.hpp include/boost/chrono/include.hpp +include/boost/chrono/io_v1/chrono_io.hpp include/boost/chrono/process_cpu_clocks.hpp include/boost/chrono/round.hpp include/boost/chrono/system_clocks.hpp @@ -863,6 +880,9 @@ include/boost/config/stdlib/vacpp.hpp include/boost/config/suffix.hpp include/boost/config/user.hpp include/boost/config/warning_disable.hpp +include/boost/container/allocator/allocator_traits.hpp +include/boost/container/allocator/memory_util.hpp +include/boost/container/allocator/scoped_allocator.hpp include/boost/container/container_fwd.hpp include/boost/container/deque.hpp include/boost/container/detail/adaptive_node_pool_impl.hpp @@ -873,6 +893,7 @@ include/boost/container/detail/config_begin.hpp include/boost/container/detail/config_end.hpp include/boost/container/detail/destroyers.hpp include/boost/container/detail/flat_tree.hpp +include/boost/container/detail/function_detector.hpp include/boost/container/detail/iterators.hpp include/boost/container/detail/math_functions.hpp include/boost/container/detail/mpl.hpp @@ -1620,6 +1641,7 @@ include/boost/fusion/container/list/list_fwd.hpp include/boost/fusion/container/map.hpp include/boost/fusion/container/map/convert.hpp include/boost/fusion/container/map/detail/as_map.hpp +include/boost/fusion/container/map/detail/at_impl.hpp include/boost/fusion/container/map/detail/begin_impl.hpp include/boost/fusion/container/map/detail/convert_impl.hpp include/boost/fusion/container/map/detail/deref_data_impl.hpp @@ -1645,6 +1667,7 @@ include/boost/fusion/container/map/detail/preprocessed/map40_fwd.hpp include/boost/fusion/container/map/detail/preprocessed/map50.hpp include/boost/fusion/container/map/detail/preprocessed/map50_fwd.hpp include/boost/fusion/container/map/detail/preprocessed/map_fwd.hpp +include/boost/fusion/container/map/detail/value_at_impl.hpp include/boost/fusion/container/map/detail/value_of_data_impl.hpp include/boost/fusion/container/map/detail/value_of_impl.hpp include/boost/fusion/container/map/limits.hpp @@ -2238,6 +2261,7 @@ include/boost/geometry/algorithms/detail/assign_indexed_point.hpp include/boost/geometry/algorithms/detail/assign_values.hpp include/boost/geometry/algorithms/detail/calculate_null.hpp include/boost/geometry/algorithms/detail/calculate_sum.hpp +include/boost/geometry/algorithms/detail/convert_indexed_to_indexed.hpp include/boost/geometry/algorithms/detail/convert_point_to_point.hpp include/boost/geometry/algorithms/detail/disjoint.hpp include/boost/geometry/algorithms/detail/equals/collect_vectors.hpp @@ -2257,6 +2281,7 @@ include/boost/geometry/algorithms/detail/overlay/copy_segments.hpp include/boost/geometry/algorithms/detail/overlay/debug_turn_info.hpp include/boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp include/boost/geometry/algorithms/detail/overlay/enrichment_info.hpp +include/boost/geometry/algorithms/detail/overlay/follow.hpp include/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp include/boost/geometry/algorithms/detail/overlay/get_relative_order.hpp include/boost/geometry/algorithms/detail/overlay/get_ring.hpp @@ -2280,6 +2305,7 @@ include/boost/geometry/algorithms/detail/point_on_border.hpp include/boost/geometry/algorithms/detail/ring_identifier.hpp include/boost/geometry/algorithms/detail/sections/range_by_section.hpp include/boost/geometry/algorithms/detail/sections/sectionalize.hpp +include/boost/geometry/algorithms/detail/throw_on_empty_input.hpp include/boost/geometry/algorithms/difference.hpp include/boost/geometry/algorithms/disjoint.hpp include/boost/geometry/algorithms/distance.hpp @@ -2291,6 +2317,7 @@ include/boost/geometry/algorithms/intersection.hpp include/boost/geometry/algorithms/intersects.hpp include/boost/geometry/algorithms/length.hpp include/boost/geometry/algorithms/make.hpp +include/boost/geometry/algorithms/not_implemented.hpp include/boost/geometry/algorithms/num_geometries.hpp include/boost/geometry/algorithms/num_interior_rings.hpp include/boost/geometry/algorithms/num_points.hpp @@ -2304,6 +2331,7 @@ include/boost/geometry/algorithms/union.hpp include/boost/geometry/algorithms/unique.hpp include/boost/geometry/algorithms/within.hpp include/boost/geometry/arithmetic/arithmetic.hpp +include/boost/geometry/arithmetic/determinant.hpp include/boost/geometry/arithmetic/dot_product.hpp include/boost/geometry/core/access.hpp include/boost/geometry/core/closure.hpp @@ -2327,14 +2355,6 @@ include/boost/geometry/core/tag.hpp include/boost/geometry/core/tag_cast.hpp include/boost/geometry/core/tags.hpp include/boost/geometry/core/topological_dimension.hpp -include/boost/geometry/domains/gis/io/io.hpp -include/boost/geometry/domains/gis/io/wkt/detail/wkt.hpp -include/boost/geometry/domains/gis/io/wkt/detail/wkt_multi.hpp -include/boost/geometry/domains/gis/io/wkt/read_wkt.hpp -include/boost/geometry/domains/gis/io/wkt/read_wkt_multi.hpp -include/boost/geometry/domains/gis/io/wkt/wkt.hpp -include/boost/geometry/domains/gis/io/wkt/write_wkt.hpp -include/boost/geometry/domains/gis/io/wkt/write_wkt_multi.hpp include/boost/geometry/geometries/adapted/boost_array.hpp include/boost/geometry/geometries/adapted/boost_fusion.hpp include/boost/geometry/geometries/adapted/boost_polygon.hpp @@ -2375,9 +2395,18 @@ include/boost/geometry/geometries/register/segment.hpp include/boost/geometry/geometries/ring.hpp include/boost/geometry/geometries/segment.hpp include/boost/geometry/geometry.hpp +include/boost/geometry/io/dsv/write.hpp +include/boost/geometry/io/io.hpp +include/boost/geometry/io/wkt/detail/prefix.hpp +include/boost/geometry/io/wkt/detail/wkt_multi.hpp +include/boost/geometry/io/wkt/read.hpp +include/boost/geometry/io/wkt/stream.hpp +include/boost/geometry/io/wkt/wkt.hpp +include/boost/geometry/io/wkt/write.hpp include/boost/geometry/iterators/base.hpp include/boost/geometry/iterators/closing_iterator.hpp include/boost/geometry/iterators/ever_circling_iterator.hpp +include/boost/geometry/multi/algorithms/append.hpp include/boost/geometry/multi/algorithms/area.hpp include/boost/geometry/multi/algorithms/centroid.hpp include/boost/geometry/multi/algorithms/clear.hpp @@ -2425,22 +2454,25 @@ include/boost/geometry/multi/geometries/concepts/check.hpp include/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp include/boost/geometry/multi/geometries/concepts/multi_point_concept.hpp include/boost/geometry/multi/geometries/concepts/multi_polygon_concept.hpp +include/boost/geometry/multi/geometries/multi_geometries.hpp include/boost/geometry/multi/geometries/multi_linestring.hpp include/boost/geometry/multi/geometries/multi_point.hpp include/boost/geometry/multi/geometries/multi_polygon.hpp include/boost/geometry/multi/geometries/register/multi_linestring.hpp include/boost/geometry/multi/geometries/register/multi_point.hpp include/boost/geometry/multi/geometries/register/multi_polygon.hpp +include/boost/geometry/multi/io/dsv/write.hpp +include/boost/geometry/multi/io/wkt/detail/prefix.hpp +include/boost/geometry/multi/io/wkt/read.hpp +include/boost/geometry/multi/io/wkt/wkt.hpp +include/boost/geometry/multi/io/wkt/write.hpp include/boost/geometry/multi/multi.hpp include/boost/geometry/multi/strategies/cartesian/centroid_average.hpp -include/boost/geometry/multi/util/write_dsv.hpp include/boost/geometry/multi/views/detail/range_type.hpp include/boost/geometry/policies/compare.hpp include/boost/geometry/policies/relate/de9im.hpp include/boost/geometry/policies/relate/direction.hpp include/boost/geometry/policies/relate/intersection_points.hpp -include/boost/geometry/policies/relate/intersection_points_determinant.hpp -include/boost/geometry/policies/relate/intersection_points_slope.hpp include/boost/geometry/policies/relate/tupled.hpp include/boost/geometry/strategies/agnostic/hull_graham_andrew.hpp include/boost/geometry/strategies/agnostic/point_in_box_by_side.hpp @@ -2493,6 +2525,7 @@ include/boost/geometry/strategies/transform/map_transformer.hpp include/boost/geometry/strategies/transform/matrix_transformers.hpp include/boost/geometry/strategies/within.hpp include/boost/geometry/util/add_const_if_c.hpp +include/boost/geometry/util/calculation_type.hpp include/boost/geometry/util/closure_as_bool.hpp include/boost/geometry/util/coordinate_cast.hpp include/boost/geometry/util/for_each_coordinate.hpp @@ -2504,7 +2537,6 @@ include/boost/geometry/util/rational.hpp include/boost/geometry/util/select_calculation_type.hpp include/boost/geometry/util/select_coordinate_type.hpp include/boost/geometry/util/select_most_precise.hpp -include/boost/geometry/util/write_dsv.hpp include/boost/geometry/views/box_view.hpp include/boost/geometry/views/closeable_view.hpp include/boost/geometry/views/detail/points_view.hpp @@ -2790,6 +2822,22 @@ include/boost/graph/vertex_and_edge_range.hpp include/boost/graph/visitors.hpp include/boost/graph/wavefront.hpp include/boost/graph/write_dimacs.hpp +include/boost/heap/binomial_heap.hpp +include/boost/heap/d_ary_heap.hpp +include/boost/heap/detail/heap_comparison.hpp +include/boost/heap/detail/heap_node.hpp +include/boost/heap/detail/ilog2.hpp +include/boost/heap/detail/mutable_heap.hpp +include/boost/heap/detail/ordered_adaptor_iterator.hpp +include/boost/heap/detail/stable_heap.hpp +include/boost/heap/detail/tree_iterator.hpp +include/boost/heap/fibonacci_heap.hpp +include/boost/heap/heap_concepts.hpp +include/boost/heap/heap_merge.hpp +include/boost/heap/pairing_heap.hpp +include/boost/heap/policies.hpp +include/boost/heap/priority_queue.hpp +include/boost/heap/skew_heap.hpp include/boost/icl/associative_element_container.hpp include/boost/icl/associative_interval_container.hpp include/boost/icl/closed_interval.hpp @@ -3015,14 +3063,7 @@ include/boost/interprocess/smart_ptr/unique_ptr.hpp include/boost/interprocess/smart_ptr/weak_ptr.hpp include/boost/interprocess/streams/bufferstream.hpp include/boost/interprocess/streams/vectorstream.hpp -include/boost/interprocess/sync/emulation/interprocess_barrier.hpp -include/boost/interprocess/sync/emulation/interprocess_condition.hpp -include/boost/interprocess/sync/emulation/interprocess_semaphore.hpp -include/boost/interprocess/sync/emulation/mutex.hpp -include/boost/interprocess/sync/emulation/named_creation_functor.hpp -include/boost/interprocess/sync/emulation/recursive_mutex.hpp include/boost/interprocess/sync/file_lock.hpp -include/boost/interprocess/sync/interprocess_barrier.hpp include/boost/interprocess/sync/interprocess_condition.hpp include/boost/interprocess/sync/interprocess_mutex.hpp include/boost/interprocess/sync/interprocess_recursive_mutex.hpp @@ -3036,17 +3077,34 @@ include/boost/interprocess/sync/named_recursive_mutex.hpp include/boost/interprocess/sync/named_semaphore.hpp include/boost/interprocess/sync/named_upgradable_mutex.hpp include/boost/interprocess/sync/null_mutex.hpp -include/boost/interprocess/sync/posix/interprocess_barrier.hpp -include/boost/interprocess/sync/posix/interprocess_condition.hpp -include/boost/interprocess/sync/posix/interprocess_mutex.hpp -include/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp -include/boost/interprocess/sync/posix/interprocess_semaphore.hpp +include/boost/interprocess/sync/posix/condition.hpp +include/boost/interprocess/sync/posix/mutex.hpp +include/boost/interprocess/sync/posix/named_mutex.hpp +include/boost/interprocess/sync/posix/named_semaphore.hpp include/boost/interprocess/sync/posix/pthread_helpers.hpp include/boost/interprocess/sync/posix/ptime_to_timespec.hpp +include/boost/interprocess/sync/posix/recursive_mutex.hpp +include/boost/interprocess/sync/posix/semaphore.hpp include/boost/interprocess/sync/posix/semaphore_wrapper.hpp include/boost/interprocess/sync/scoped_lock.hpp include/boost/interprocess/sync/sharable_lock.hpp +include/boost/interprocess/sync/shm/named_condition.hpp +include/boost/interprocess/sync/shm/named_creation_functor.hpp +include/boost/interprocess/sync/shm/named_mutex.hpp +include/boost/interprocess/sync/shm/named_recursive_mutex.hpp +include/boost/interprocess/sync/shm/named_semaphore.hpp +include/boost/interprocess/sync/shm/named_upgradable_mutex.hpp +include/boost/interprocess/sync/spin/condition.hpp +include/boost/interprocess/sync/spin/interprocess_barrier.hpp +include/boost/interprocess/sync/spin/mutex.hpp +include/boost/interprocess/sync/spin/recursive_mutex.hpp +include/boost/interprocess/sync/spin/semaphore.hpp include/boost/interprocess/sync/upgradable_lock.hpp +include/boost/interprocess/sync/windows/condition.hpp +include/boost/interprocess/sync/windows/mutex.hpp +include/boost/interprocess/sync/windows/recursive_mutex.hpp +include/boost/interprocess/sync/windows/semaphore.hpp +include/boost/interprocess/sync/windows/sync_utils.hpp include/boost/interprocess/sync/xsi/advanced_xsi_semaphore.hpp include/boost/interprocess/sync/xsi/simple_xsi_semaphore.hpp include/boost/interprocess/sync/xsi/xsi_named_mutex.hpp @@ -3072,12 +3130,14 @@ include/boost/intrusive/detail/config_end.hpp include/boost/intrusive/detail/ebo_functor_holder.hpp include/boost/intrusive/detail/function_detector.hpp include/boost/intrusive/detail/generic_hook.hpp +include/boost/intrusive/detail/has_member_function_callable_with.hpp include/boost/intrusive/detail/hashtable_node.hpp include/boost/intrusive/detail/is_stateful_value_traits.hpp include/boost/intrusive/detail/list_node.hpp +include/boost/intrusive/detail/memory_util.hpp include/boost/intrusive/detail/mpl.hpp include/boost/intrusive/detail/parent_from_member.hpp -include/boost/intrusive/detail/pointer_to_other.hpp +include/boost/intrusive/detail/preprocessor.hpp include/boost/intrusive/detail/rbtree_node.hpp include/boost/intrusive/detail/slist_node.hpp include/boost/intrusive/detail/transform_iterator.hpp @@ -3095,6 +3155,7 @@ include/boost/intrusive/member_value_traits.hpp include/boost/intrusive/options.hpp include/boost/intrusive/parent_from_member.hpp include/boost/intrusive/pointer_plus_bits.hpp +include/boost/intrusive/pointer_traits.hpp include/boost/intrusive/priority_compare.hpp include/boost/intrusive/rbtree.hpp include/boost/intrusive/rbtree_algorithms.hpp @@ -3484,6 +3545,7 @@ include/boost/math/special_functions/spherical_harmonic.hpp include/boost/math/special_functions/sqrt1pm1.hpp include/boost/math/special_functions/trunc.hpp include/boost/math/special_functions/zeta.hpp +include/boost/math/tools/big_constant.hpp include/boost/math/tools/config.hpp include/boost/math/tools/detail/polynomial_horner1_10.hpp include/boost/math/tools/detail/polynomial_horner1_11.hpp @@ -5433,6 +5495,7 @@ include/boost/preprocessor/arithmetic/sub.hpp include/boost/preprocessor/array.hpp include/boost/preprocessor/array/data.hpp include/boost/preprocessor/array/elem.hpp +include/boost/preprocessor/array/enum.hpp include/boost/preprocessor/array/insert.hpp include/boost/preprocessor/array/pop_back.hpp include/boost/preprocessor/array/pop_front.hpp @@ -5442,6 +5505,9 @@ include/boost/preprocessor/array/remove.hpp include/boost/preprocessor/array/replace.hpp include/boost/preprocessor/array/reverse.hpp include/boost/preprocessor/array/size.hpp +include/boost/preprocessor/array/to_list.hpp +include/boost/preprocessor/array/to_seq.hpp +include/boost/preprocessor/array/to_tuple.hpp include/boost/preprocessor/assert_msg.hpp include/boost/preprocessor/cat.hpp include/boost/preprocessor/comma.hpp @@ -5497,6 +5563,7 @@ include/boost/preprocessor/facilities/intercept.hpp include/boost/preprocessor/facilities/is_1.hpp include/boost/preprocessor/facilities/is_empty.hpp include/boost/preprocessor/facilities/is_empty_or_1.hpp +include/boost/preprocessor/facilities/overload.hpp include/boost/preprocessor/for.hpp include/boost/preprocessor/identity.hpp include/boost/preprocessor/if.hpp @@ -5554,6 +5621,8 @@ include/boost/preprocessor/list/for_each_product.hpp include/boost/preprocessor/list/rest_n.hpp include/boost/preprocessor/list/reverse.hpp include/boost/preprocessor/list/size.hpp +include/boost/preprocessor/list/to_array.hpp +include/boost/preprocessor/list/to_seq.hpp include/boost/preprocessor/list/to_tuple.hpp include/boost/preprocessor/list/transform.hpp include/boost/preprocessor/logical.hpp @@ -5607,6 +5676,7 @@ include/boost/preprocessor/selection/max.hpp include/boost/preprocessor/selection/min.hpp include/boost/preprocessor/seq.hpp include/boost/preprocessor/seq/cat.hpp +include/boost/preprocessor/seq/detail/binary_transform.hpp include/boost/preprocessor/seq/detail/split.hpp include/boost/preprocessor/seq/elem.hpp include/boost/preprocessor/seq/enum.hpp @@ -5630,6 +5700,7 @@ include/boost/preprocessor/seq/seq.hpp include/boost/preprocessor/seq/size.hpp include/boost/preprocessor/seq/subseq.hpp include/boost/preprocessor/seq/to_array.hpp +include/boost/preprocessor/seq/to_list.hpp include/boost/preprocessor/seq/to_tuple.hpp include/boost/preprocessor/seq/transform.hpp include/boost/preprocessor/slot.hpp @@ -5647,10 +5718,20 @@ include/boost/preprocessor/stringize.hpp include/boost/preprocessor/tuple.hpp include/boost/preprocessor/tuple/eat.hpp include/boost/preprocessor/tuple/elem.hpp +include/boost/preprocessor/tuple/enum.hpp include/boost/preprocessor/tuple/rem.hpp include/boost/preprocessor/tuple/reverse.hpp +include/boost/preprocessor/tuple/size.hpp +include/boost/preprocessor/tuple/to_array.hpp include/boost/preprocessor/tuple/to_list.hpp include/boost/preprocessor/tuple/to_seq.hpp +include/boost/preprocessor/variadic.hpp +include/boost/preprocessor/variadic/elem.hpp +include/boost/preprocessor/variadic/size.hpp +include/boost/preprocessor/variadic/to_array.hpp +include/boost/preprocessor/variadic/to_list.hpp +include/boost/preprocessor/variadic/to_seq.hpp +include/boost/preprocessor/variadic/to_tuple.hpp include/boost/preprocessor/while.hpp include/boost/preprocessor/wstringize.hpp include/boost/program_options.hpp @@ -6568,6 +6649,7 @@ include/boost/smart_ptr/detail/shared_ptr_nmt.hpp include/boost/smart_ptr/detail/sp_convertible.hpp include/boost/smart_ptr/detail/sp_counted_base.hpp include/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +include/boost/smart_ptr/detail/sp_counted_base_aix.hpp include/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp include/boost/smart_ptr/detail/sp_counted_base_cw_x86.hpp include/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp @@ -6595,6 +6677,7 @@ include/boost/smart_ptr/enable_shared_from_this.hpp include/boost/smart_ptr/enable_shared_from_this2.hpp include/boost/smart_ptr/intrusive_ptr.hpp include/boost/smart_ptr/make_shared.hpp +include/boost/smart_ptr/owner_less.hpp include/boost/smart_ptr/scoped_array.hpp include/boost/smart_ptr/scoped_ptr.hpp include/boost/smart_ptr/shared_array.hpp diff --git a/devel/boost-headers/buildlink3.mk b/devel/boost-headers/buildlink3.mk index c60302d6af8..6fc496710f2 100644 --- a/devel/boost-headers/buildlink3.mk +++ b/devel/boost-headers/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.21 2012/01/08 11:35:07 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.22 2012/02/29 14:22:23 hans Exp $ BUILDLINK_TREE+= boost-headers @@ -6,7 +6,7 @@ BUILDLINK_TREE+= boost-headers BOOST_HEADERS_BUILDLINK3_MK:= # Use a dependency pattern that guarantees the proper ABI. -BUILDLINK_API_DEPENDS.boost-headers+= boost-headers-1.48.* +BUILDLINK_API_DEPENDS.boost-headers+= boost-headers-1.49.* BUILDLINK_DEPMETHOD.boost-headers?= build BUILDLINK_PKGSRCDIR.boost-headers?= ../../devel/boost-headers diff --git a/devel/boost-jam/buildlink3.mk b/devel/boost-jam/buildlink3.mk index 3fb2f0f40a9..df32e416e95 100644 --- a/devel/boost-jam/buildlink3.mk +++ b/devel/boost-jam/buildlink3.mk @@ -1,11 +1,11 @@ -# $NetBSD: buildlink3.mk,v 1.14 2012/01/08 11:35:07 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.15 2012/02/29 14:22:23 hans Exp $ BUILDLINK_TREE+= boost-jam .if !defined(BOOST_JAM_BUILDLINK3_MK) BOOST_JAM_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.boost-jam+= boost-jam-1.48.* +BUILDLINK_API_DEPENDS.boost-jam+= boost-jam-1.49.* BUILDLINK_DEPMETHOD.boost-jam?= build BUILDLINK_PKGSRCDIR.boost-jam?= ../../devel/boost-jam .endif # BOOST_JAM_BUILDLINK3_MK diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile index d184d8f4522..09a3480aa35 100644 --- a/devel/boost-libs/Makefile +++ b/devel/boost-libs/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.19 2012/02/20 14:59:31 jdc Exp $ +# $NetBSD: Makefile,v 1.20 2012/02/29 14:22:24 hans Exp $ BOOST_PACKAGE= libs BOOST_COMMENT= (binary libraries) BOOST_CONFIG= installed BOOST_INSTALL_LIBS= yes -PKGREVISION= 2 PKG_DESTDIR_SUPPORT= user-destdir diff --git a/devel/boost-libs/buildlink3.mk b/devel/boost-libs/buildlink3.mk index 6b79ecb3e5c..3f5105807f2 100644 --- a/devel/boost-libs/buildlink3.mk +++ b/devel/boost-libs/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.21 2012/01/08 11:35:07 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.22 2012/02/29 14:22:24 hans Exp $ BUILDLINK_TREE+= boost-libs @@ -6,7 +6,7 @@ BUILDLINK_TREE+= boost-libs BOOST_LIBS_BUILDLINK3_MK:= # Use a dependency pattern that guarantees the proper ABI. -BUILDLINK_API_DEPENDS.boost-libs+= boost-libs-1.48.* +BUILDLINK_API_DEPENDS.boost-libs+= boost-libs-1.49.* BUILDLINK_PKGSRCDIR.boost-libs?= ../../devel/boost-libs .include "../../devel/boost-headers/buildlink3.mk" diff --git a/devel/boost-python/buildlink3.mk b/devel/boost-python/buildlink3.mk index 1f78fe507a8..357e4a613e0 100644 --- a/devel/boost-python/buildlink3.mk +++ b/devel/boost-python/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.25 2012/01/08 11:35:08 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.26 2012/02/29 14:22:24 hans Exp $ BUILDLINK_TREE+= boost-python @@ -6,8 +6,8 @@ BUILDLINK_TREE+= boost-python BOOST_PYTHON_BUILDLINK3_MK:= # Use a dependency pattern that guarantees the proper ABI. -BUILDLINK_API_DEPENDS.boost-python+= boost-python-1.48.* -BUILDLINK_ABI_DEPENDS.boost-python+= boost-python-1.48.* +BUILDLINK_API_DEPENDS.boost-python+= boost-python-1.49.* +BUILDLINK_ABI_DEPENDS.boost-python+= boost-python-1.49.* BUILDLINK_PKGSRCDIR.boost-python?= ../../devel/boost-python .include "../../devel/boost-headers/buildlink3.mk" diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common index a38ead854ea..aec0c2dcde6 100644 --- a/meta-pkgs/boost/Makefile.common +++ b/meta-pkgs/boost/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.32 2012/01/08 11:35:07 adam Exp $ +# $NetBSD: Makefile.common,v 1.33 2012/02/29 14:22:24 hans Exp $ # # used by devel/boost-build/Makefile # used by devel/boost-docs/Makefile @@ -9,7 +9,7 @@ BOOST_PACKAGE?= undefined BOOST_COMMENT?= undefined -BOOST_VERSION= 1.48.0 +BOOST_VERSION= 1.49.0 BOOST_SHORT_VERSION= ${BOOST_VERSION:S/./_/:C/\..*$//} DISTNAME= boost_${BOOST_VERSION:S/./_/g} diff --git a/meta-pkgs/boost/distinfo b/meta-pkgs/boost/distinfo index 335ea810f2a..a9e1338cc8d 100644 --- a/meta-pkgs/boost/distinfo +++ b/meta-pkgs/boost/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.40 2012/02/16 18:24:12 hans Exp $ +$NetBSD: distinfo,v 1.41 2012/02/29 14:22:24 hans Exp $ -SHA1 (boost_1_48_0.tar.bz2) = 27aced5086e96c6f7b2b684bda2bd515e115da35 -RMD160 (boost_1_48_0.tar.bz2) = e006121ae5cac37aa419ac5bbf59e090e6ca7f70 -Size (boost_1_48_0.tar.bz2) = 48236989 bytes +SHA1 (boost_1_49_0.tar.bz2) = 26a52840e9d12f829e3008589abf0a925ce88524 +RMD160 (boost_1_49_0.tar.bz2) = 3504c6f27c63ab52182c822d45d020fa30179abc +Size (boost_1_49_0.tar.bz2) = 48499961 bytes SHA1 (patch-aa) = 62bb260fce3bca6dd5f61dd9b179fd40593d31b4 SHA1 (patch-ab) = f1c95ae229465a4d2da76ce6ff88d76ace52fdd8 SHA1 (patch-ac) = 54d40e6a62cdf40c4155c64d9f02df475fbe111d @@ -12,9 +12,3 @@ SHA1 (patch-ag) = b19bf29b0c08ede6470e0a697f99d4ea796ab987 SHA1 (patch-ai) = e55ca82da06d23c362f041b0b5f92bbd09663379 SHA1 (patch-aq) = e5c7b72ffa2942ce401f3d9bf05498fd761df17a SHA1 (patch-ar) = 91981e2edb93666de78c203a6cef3d5011b2b26a -SHA1 (patch-boost_foreach.hpp) = 7cd26c4983873bcac284ad400950e341c559f9a8 -SHA1 (patch-boost_foreach_fwd.hpp) = 5accd68d559213a9677f7d1204e72dd082a42a41 -SHA1 (patch-boost_numeric_conversion_detail_numeric__cast__traits.hpp) = 9dd68181736e6c0613869640e3ac217bf7491089 -SHA1 (patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits.hpp) = c85e2c36bc7dad7aab54456a55189301525b22ab -SHA1 (patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__common.hpp) = ac13408f5c7ccede26e6c945bdee109383434fcb -SHA1 (patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__long__long.hpp) = 165579f516cb0a3a2cc459442f1dbdc156e5a60f diff --git a/meta-pkgs/boost/patches/patch-boost_foreach.hpp b/meta-pkgs/boost/patches/patch-boost_foreach.hpp deleted file mode 100644 index 757c4b63694..00000000000 --- a/meta-pkgs/boost/patches/patch-boost_foreach.hpp +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-boost_foreach.hpp,v 1.1 2012/01/09 16:33:14 adam Exp $ - -https://svn.boost.org/trac/boost/ticket/6131 - ---- boost/foreach.hpp.orig 2012-01-09 15:55:10.000000000 +0000 -+++ boost/foreach.hpp -@@ -165,7 +165,7 @@ namespace foreach - // this one works on legacy compilers. Overload boost_foreach_is_lightweight_proxy - // at the global namespace for your type. - template<typename T> --inline boost::foreach::is_lightweight_proxy<T> * -+inline boost::BOOST_FOREACH::is_lightweight_proxy<T> * - boost_foreach_is_lightweight_proxy(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; } - - template<typename T> -@@ -190,7 +190,7 @@ boost_foreach_is_lightweight_proxy(T **& - // this one works on legacy compilers. Overload boost_foreach_is_noncopyable - // at the global namespace for your type. - template<typename T> --inline boost::foreach::is_noncopyable<T> * -+inline boost::BOOST_FOREACH::is_noncopyable<T> * - boost_foreach_is_noncopyable(T *&, BOOST_FOREACH_TAG_DEFAULT) { return 0; } - - namespace boost diff --git a/meta-pkgs/boost/patches/patch-boost_foreach_fwd.hpp b/meta-pkgs/boost/patches/patch-boost_foreach_fwd.hpp deleted file mode 100644 index a9f558d827f..00000000000 --- a/meta-pkgs/boost/patches/patch-boost_foreach_fwd.hpp +++ /dev/null @@ -1,48 +0,0 @@ -$NetBSD: patch-boost_foreach_fwd.hpp,v 1.1 2012/01/09 16:33:14 adam Exp $ - -https://svn.boost.org/trac/boost/ticket/6131 - ---- boost/foreach_fwd.hpp.orig 2012-01-09 15:58:44.000000000 +0000 -+++ boost/foreach_fwd.hpp -@@ -14,6 +14,8 @@ - #ifndef BOOST_FOREACH_FWD_HPP - #define BOOST_FOREACH_FWD_HPP - -+#include <utility> // for std::pair -+ - // This must be at global scope, hence the uglified name - enum boost_foreach_argument_dependent_lookup_hack - { -@@ -25,6 +27,9 @@ namespace boost - - namespace foreach - { -+ template<typename T> -+ std::pair<T, T> in_range(T begin, T end); -+ - /////////////////////////////////////////////////////////////////////////////// - // boost::foreach::tag - // -@@ -46,6 +51,22 @@ namespace foreach - - } // namespace foreach - -+namespace BOOST_FOREACH -+{ -+ using foreach::in_range; -+ using foreach::tag; -+ -+ template<typename T> -+ struct is_lightweight_proxy -+ : foreach::is_lightweight_proxy<T> -+ {}; -+ -+ template<typename T> -+ struct is_noncopyable -+ : foreach::is_noncopyable<T> -+ {}; -+} // namespace BOOST_FOREACH -+ - } // namespace boost - - #endif diff --git a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_numeric__cast__traits.hpp b/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_numeric__cast__traits.hpp deleted file mode 100644 index 2c4c2b781b7..00000000000 --- a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_numeric__cast__traits.hpp +++ /dev/null @@ -1,176 +0,0 @@ -$NetBSD: patch-boost_numeric_conversion_detail_numeric__cast__traits.hpp,v 1.1 2012/02/16 18:24:12 hans Exp $ - ---- boost/numeric/conversion/detail/numeric_cast_traits.hpp.orig 2011-10-06 19:27:17.000000000 +0200 -+++ boost/numeric/conversion/detail/numeric_cast_traits.hpp 2012-02-14 15:17:49.823827394 +0100 -@@ -1,26 +1,33 @@ - // --//! Copyright (c) 2011 -+//! Copyright (c) 2011-2012 - //! Brandon Kohn - // - // Distributed under the Boost Software License, Version 1.0. (See - // accompanying file LICENSE_1_0.txt or copy at - // http://www.boost.org/LICENSE_1_0.txt) - // -+ - #if !defined(BOOST_NUMERIC_CONVERSION_DONT_USE_PREPROCESSED_FILES) -- #include <boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp> -+ -+ #include <boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp> -+ -+ #if !defined(BOOST_NO_LONG_LONG) -+ #include <boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp> -+ #endif -+ - #else - #if !BOOST_PP_IS_ITERATING - -- #include <boost/preprocessor/iteration/iterate.hpp> - #include <boost/preprocessor/seq/elem.hpp> - #include <boost/preprocessor/seq/size.hpp> -+ #include <boost/preprocessor/iteration/iterate.hpp> - - #if defined(__WAVE__) && defined(BOOST_NUMERIC_CONVERSION_CREATE_PREPROCESSED_FILES) -- #pragma wave option(preserve: 2, line: 0, output: "preprocessed/numeric_cast_traits.hpp") -+ #pragma wave option(preserve: 2, line: 0, output: "preprocessed/numeric_cast_traits_common.hpp") - #endif - - // --//! Copyright (c) 2011 -+//! Copyright (c) 2011-2012 - //! Brandon Kohn - // - // Distributed under the Boost Software License, Version 1.0. (See -@@ -31,40 +38,28 @@ - #pragma wave option(preserve: 1) - #endif - -- //! Generate the specializations for the built-in types. -- #if !defined( BOOST_NO_INT64_T ) -- #define BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES() \ -- (char) \ -- (boost::int8_t) \ -- (boost::uint8_t) \ -- (boost::int16_t) \ -- (boost::uint16_t) \ -- (boost::int32_t) \ -- (boost::uint32_t) \ -- (boost::int64_t) \ -- (boost::uint64_t) \ -- (float) \ -- (double) \ -- (long double) \ -- /***/ -- #else -- #define BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES() \ -- (char) \ -- (boost::int8_t) \ -- (boost::uint8_t) \ -- (boost::int16_t) \ -- (boost::uint16_t) \ -- (boost::int32_t) \ -- (boost::uint32_t) \ -- (float) \ -- (double) \ -- (long double) \ -- /***/ -- #endif -+ //! These are the assumed common built in fundamental types (not typdefs/macros.) -+ #define BOOST_NUMERIC_CONVERSION_BASE_BUILTIN_TYPES() \ -+ (char) \ -+ (signed char) \ -+ (unsigned char) \ -+ (short) \ -+ (unsigned short) \ -+ (int) \ -+ (unsigned int) \ -+ (long) \ -+ (unsigned long) \ -+ (float) \ -+ (double) \ -+ (long double) \ -+ /***/ -+ -+ #define BOOST_NUMERIC_CONVERSION_SEQ_A() BOOST_NUMERIC_CONVERSION_BASE_BUILTIN_TYPES() -+ #define BOOST_NUMERIC_CONVERSION_SEQ_B() BOOST_NUMERIC_CONVERSION_BASE_BUILTIN_TYPES() - - namespace boost { namespace numeric { - -- #define BOOST_PP_ITERATION_PARAMS_1 (3, (0, BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES())), <boost/numeric/conversion/detail/numeric_cast_traits.hpp>)) -+ #define BOOST_PP_ITERATION_PARAMS_1 (3, (0, BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(BOOST_NUMERIC_CONVERSION_SEQ_A())), <boost/numeric/conversion/detail/numeric_cast_traits.hpp>)) - #include BOOST_PP_ITERATE() - - }}//namespace boost::numeric; -@@ -72,12 +67,53 @@ namespace boost { namespace numeric { - #if defined(__WAVE__) && defined(BOOST_NUMERIC_CONVERSION_CREATE_PREPROCESSED_FILES) - #pragma wave option(output: null) - #endif -+ -+ #if ( defined(__WAVE__) && defined(BOOST_NUMERIC_CONVERSION_CREATE_PREPROCESSED_FILES) ) || !defined(BOOST_NO_LONG_LONG) -+ -+ #undef BOOST_NUMERIC_CONVERSION_SEQ_A -+ #undef BOOST_NUMERIC_CONVERSION_SEQ_B -+ -+ #if defined(__WAVE__) && defined(BOOST_NUMERIC_CONVERSION_CREATE_PREPROCESSED_FILES) -+ #pragma wave option(preserve: 2, line: 0, output: "preprocessed/numeric_cast_traits_long_long.hpp") -+ #endif -+ -+// -+//! Copyright (c) 2011-2012 -+//! Brandon Kohn -+// -+// Distributed under the Boost Software License, Version 1.0. (See -+// accompanying file LICENSE_1_0.txt or copy at -+// http://www.boost.org/LICENSE_1_0.txt) -+// -+ #if defined(__WAVE__) && defined(BOOST_NUMERIC_CONVERSION_CREATE_PREPROCESSED_FILES) -+ #pragma wave option(preserve: 1) -+ #endif -+ -+namespace boost { namespace numeric { -+ -+ #define BOOST_NUMERIC_CONVERSION_SEQ_A() BOOST_NUMERIC_CONVERSION_BASE_BUILTIN_TYPES()(long long)(unsigned long long) -+ #define BOOST_NUMERIC_CONVERSION_SEQ_B() (long long)(unsigned long long) -+ -+ #define BOOST_PP_ITERATION_PARAMS_1 (3, (0, BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(BOOST_NUMERIC_CONVERSION_SEQ_A())), <boost/numeric/conversion/detail/numeric_cast_traits.hpp>)) -+ #include BOOST_PP_ITERATE() -+ -+}}//namespace boost::numeric; -+ -+ #if defined(__WAVE__) && defined(BOOST_NUMERIC_CONVERSION_CREATE_PREPROCESSED_FILES) -+ #pragma wave option(output: null) -+ #endif -+ -+ #endif -+ -+ #undef BOOST_NUMERIC_CONVERSION_BASE_BUILTIN_TYPES -+ #undef BOOST_NUMERIC_CONVERSION_SEQ_A -+ #undef BOOST_NUMERIC_CONVERSION_SEQ_B -+ - -- #undef BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES - - #elif BOOST_PP_ITERATION_DEPTH() == 1 - -- #define BOOST_PP_ITERATION_PARAMS_2 (3, (0, BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES())), <boost/numeric/conversion/detail/numeric_cast_traits.hpp>)) -+ #define BOOST_PP_ITERATION_PARAMS_2 (3, (0, BOOST_PP_DEC(BOOST_PP_SEQ_SIZE(BOOST_NUMERIC_CONVERSION_SEQ_B())), <boost/numeric/conversion/detail/numeric_cast_traits.hpp>)) - #include BOOST_PP_ITERATE() - - #elif BOOST_PP_ITERATION_DEPTH() == 2 -@@ -89,13 +125,13 @@ namespace boost { namespace numeric { - template <> - struct numeric_cast_traits - < -- BOOST_PP_SEQ_ELEM(BOOST_NUMERIC_CONVERSION_A, BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES()) -- , BOOST_PP_SEQ_ELEM(BOOST_NUMERIC_CONVERSION_B, BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES()) -+ BOOST_PP_SEQ_ELEM(BOOST_NUMERIC_CONVERSION_A, BOOST_NUMERIC_CONVERSION_SEQ_A()) -+ , BOOST_PP_SEQ_ELEM(BOOST_NUMERIC_CONVERSION_B, BOOST_NUMERIC_CONVERSION_SEQ_B()) - > - { - typedef def_overflow_handler overflow_policy; - typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<BOOST_PP_SEQ_ELEM(BOOST_NUMERIC_CONVERSION_B, BOOST_NUMERIC_CONVERSION_BUILTIN_TYPES())> rounding_policy; -+ typedef Trunc<BOOST_PP_SEQ_ELEM(BOOST_NUMERIC_CONVERSION_B, BOOST_NUMERIC_CONVERSION_SEQ_B())> rounding_policy; - }; - - #undef BOOST_NUMERIC_CONVERSION_A diff --git a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits.hpp b/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits.hpp deleted file mode 100644 index 52d7ed40d7a..00000000000 --- a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits.hpp +++ /dev/null @@ -1,1756 +0,0 @@ -$NetBSD: patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits.hpp,v 1.1 2012/02/16 18:24:12 hans Exp $ - ---- boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp.orig 2012-02-14 15:03:47.820833080 +0100 -+++ boost/numeric/conversion/detail/preprocessed/numeric_cast_traits.hpp 2012-02-09 03:10:02.000000000 +0100 -@@ -1,1751 +0,0 @@ --// --//! Copyright (c) 2011 --//! Brandon Kohn --// --// Distributed under the Boost Software License, Version 1.0. (See --// accompanying file LICENSE_1_0.txt or copy at --// http://www.boost.org/LICENSE_1_0.txt) --// -- --namespace boost { namespace numeric { -- -- template <> -- struct numeric_cast_traits -- < -- char -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- char -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int8_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint8_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int16_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint16_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int32_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint32_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::int64_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- boost::uint64_t -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- float -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- float -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- double -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- double -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , char -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<char> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::int8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::uint8_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint8_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::int16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::uint16_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint16_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::int32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::uint32_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint32_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::int64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::int64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , boost::uint64_t -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<boost::uint64_t> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , float -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<float> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<double> rounding_policy; -- }; -- -- template <> -- struct numeric_cast_traits -- < -- long double -- , long double -- > -- { -- typedef def_overflow_handler overflow_policy; -- typedef UseInternalRangeChecker range_checking_policy; -- typedef Trunc<long double> rounding_policy; -- }; -- --}} diff --git a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__common.hpp b/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__common.hpp deleted file mode 100644 index 30bb87ce9e6..00000000000 --- a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__common.hpp +++ /dev/null @@ -1,1746 +0,0 @@ -$NetBSD: patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__common.hpp,v 1.1 2012/02/16 18:24:13 hans Exp $ - ---- /dev/null 2012-02-09 03:10:02.000000000 +0100 -+++ boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_common.hpp 2012-02-14 15:03:39.157713113 +0100 -@@ -0,0 +1,1741 @@ -+// -+//! Copyright (c) 2011-2012 -+//! Brandon Kohn -+// -+// Distributed under the Boost Software License, Version 1.0. (See -+// accompanying file LICENSE_1_0.txt or copy at -+// http://www.boost.org/LICENSE_1_0.txt) -+// -+ -+ -+ -+namespace boost { namespace numeric { -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , signed char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<signed char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , unsigned char -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned char> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , unsigned short -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned short> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , unsigned int -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned int> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , unsigned long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , float -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<float> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<double> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , long double -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long double> rounding_policy; -+ }; -+}} diff --git a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__long__long.hpp b/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__long__long.hpp deleted file mode 100644 index d8e2a10f153..00000000000 --- a/meta-pkgs/boost/patches/patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__long__long.hpp +++ /dev/null @@ -1,352 +0,0 @@ -$NetBSD: patch-boost_numeric_conversion_detail_preprocessed_numeric__cast__traits__long__long.hpp,v 1.1 2012/02/16 18:24:13 hans Exp $ - ---- /dev/null 2012-02-09 03:10:02.000000000 +0100 -+++ boost/numeric/conversion/detail/preprocessed/numeric_cast_traits_long_long.hpp 2012-02-14 15:03:39.158094998 +0100 -@@ -0,0 +1,347 @@ -+// -+//! Copyright (c) 2011-2012 -+//! Brandon Kohn -+// -+// Distributed under the Boost Software License, Version 1.0. (See -+// accompanying file LICENSE_1_0.txt or copy at -+// http://www.boost.org/LICENSE_1_0.txt) -+// -+namespace boost { namespace numeric { -+ -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ char -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ signed char -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned char -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ short -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned short -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ int -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned int -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ float -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ double -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long double -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long long -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ long long -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long long -+ , long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<long long> rounding_policy; -+ }; -+ -+ template <> -+ struct numeric_cast_traits -+ < -+ unsigned long long -+ , unsigned long long -+ > -+ { -+ typedef def_overflow_handler overflow_policy; -+ typedef UseInternalRangeChecker range_checking_policy; -+ typedef Trunc<unsigned long long> rounding_policy; -+ }; -+}} |