summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 01:30:07 (GMT)
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-06 01:32:57 (GMT)
commit71d216b90256936a9638f325af9bc69d720e75de (patch)
tree9c5f682d341c7c88ad0c8e3d4b262e00b6fb691a /boost
parent733b5d5ae2c5d625211e2985ac25728ac3f54883 (diff)
downloadboost-71d216b90256936a9638f325af9bc69d720e75de.zip
boost-71d216b90256936a9638f325af9bc69d720e75de.tar.gz
boost-71d216b90256936a9638f325af9bc69d720e75de.tar.bz2
Imported Upstream version 1.59.0refs/changes/06/91106/1
Change-Id: I2dde00f4eca71df3eea9d251dcaecde18a6c90a5 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost')
-rw-r--r--boost/align.hpp11
-rw-r--r--boost/align/align.hpp10
-rw-r--r--boost/align/aligned_alloc.hpp10
-rw-r--r--boost/align/aligned_allocator.hpp252
-rw-r--r--boost/align/aligned_allocator_adaptor.hpp261
-rw-r--r--boost/align/aligned_allocator_adaptor_forward.hpp22
-rw-r--r--boost/align/aligned_allocator_forward.hpp22
-rw-r--r--boost/align/aligned_delete.hpp38
-rw-r--r--boost/align/aligned_delete_forward.hpp20
-rw-r--r--boost/align/alignment_of.hpp50
-rw-r--r--boost/align/alignment_of_forward.hpp22
-rw-r--r--boost/align/assume_aligned.hpp29
-rw-r--r--boost/align/detail/address.hpp26
-rw-r--r--boost/align/detail/addressof.hpp26
-rw-r--r--boost/align/detail/align.hpp46
-rw-r--r--boost/align/detail/align_cxx11.hpp20
-rw-r--r--boost/align/detail/aligned_alloc.hpp66
-rw-r--r--boost/align/detail/aligned_alloc_android.hpp37
-rw-r--r--boost/align/detail/aligned_alloc_macos.hpp55
-rw-r--r--boost/align/detail/aligned_alloc_msvc.hpp37
-rw-r--r--boost/align/detail/aligned_alloc_posix.hpp49
-rw-r--r--boost/align/detail/aligned_alloc_sunos.hpp37
-rw-r--r--boost/align/detail/alignment_of.hpp32
-rw-r--r--boost/align/detail/alignment_of_clang.hpp30
-rw-r--r--boost/align/detail/alignment_of_codegear.hpp30
-rw-r--r--boost/align/detail/alignment_of_cxx11.hpp24
-rw-r--r--boost/align/detail/alignment_of_gcc.hpp30
-rw-r--r--boost/align/detail/alignment_of_msvc.hpp31
-rw-r--r--boost/align/detail/assume_aligned.hpp17
-rw-r--r--boost/align/detail/assume_aligned_clang.hpp21
-rw-r--r--boost/align/detail/assume_aligned_gcc.hpp18
-rw-r--r--boost/align/detail/assume_aligned_intel.hpp18
-rw-r--r--boost/align/detail/assume_aligned_msvc.hpp20
-rw-r--r--boost/align/detail/integral_constant.hpp48
-rw-r--r--boost/align/detail/is_aligned.hpp28
-rw-r--r--boost/align/detail/is_alignment.hpp30
-rw-r--r--boost/align/detail/is_alignment_constant.hpp31
-rw-r--r--boost/align/detail/max_align.hpp31
-rw-r--r--boost/align/detail/max_count_of.hpp32
-rw-r--r--boost/align/detail/min_size.hpp31
-rw-r--r--boost/align/detail/offset_object.hpp32
-rw-r--r--boost/align/detail/remove_traits.hpp132
-rw-r--r--boost/align/is_aligned.hpp10
-rw-r--r--boost/archive/archive_exception.hpp24
-rw-r--r--boost/archive/basic_archive.hpp4
-rw-r--r--boost/archive/basic_binary_iarchive.hpp58
-rw-r--r--boost/archive/basic_binary_iprimitive.hpp17
-rw-r--r--boost/archive/basic_binary_oarchive.hpp33
-rw-r--r--boost/archive/basic_binary_oprimitive.hpp16
-rw-r--r--boost/archive/basic_text_iarchive.hpp15
-rw-r--r--boost/archive/basic_text_iprimitive.hpp8
-rw-r--r--boost/archive/basic_text_oarchive.hpp19
-rw-r--r--boost/archive/basic_text_oprimitive.hpp8
-rw-r--r--boost/archive/basic_xml_archive.hpp16
-rw-r--r--boost/archive/basic_xml_iarchive.hpp43
-rw-r--r--boost/archive/basic_xml_oarchive.hpp67
-rw-r--r--boost/archive/binary_iarchive.hpp2
-rw-r--r--boost/archive/binary_iarchive_impl.hpp8
-rw-r--r--boost/archive/binary_oarchive.hpp2
-rw-r--r--boost/archive/binary_oarchive_impl.hpp8
-rw-r--r--boost/archive/codecvt_null.hpp4
-rw-r--r--boost/archive/detail/abi_prefix.hpp4
-rw-r--r--boost/archive/detail/abi_suffix.hpp4
-rw-r--r--boost/archive/detail/archive_serializer_map.hpp9
-rw-r--r--boost/archive/detail/basic_archive_impl.hpp45
-rw-r--r--boost/archive/detail/basic_config.hpp45
-rw-r--r--boost/archive/detail/basic_iarchive.hpp36
-rw-r--r--boost/archive/detail/basic_iserializer.hpp10
-rw-r--r--boost/archive/detail/basic_oarchive.hpp26
-rw-r--r--boost/archive/detail/basic_oserializer.hpp10
-rw-r--r--boost/archive/detail/basic_pointer_iserializer.hpp10
-rw-r--r--boost/archive/detail/basic_pointer_oserializer.hpp10
-rw-r--r--boost/archive/detail/basic_serializer_map.hpp8
-rw-r--r--boost/archive/detail/common_iarchive.hpp2
-rw-r--r--boost/archive/detail/common_oarchive.hpp2
-rw-r--r--boost/archive/detail/decl.hpp68
-rw-r--r--boost/archive/detail/helper_collection.hpp5
-rw-r--r--boost/archive/detail/interface_iarchive.hpp12
-rw-r--r--boost/archive/detail/interface_oarchive.hpp23
-rw-r--r--boost/archive/detail/iserializer.hpp37
-rw-r--r--boost/archive/detail/polymorphic_iarchive_route.hpp9
-rw-r--r--boost/archive/detail/polymorphic_oarchive_route.hpp8
-rw-r--r--boost/archive/impl/archive_serializer_map.ipp6
-rw-r--r--boost/archive/impl/basic_binary_iarchive.ipp10
-rw-r--r--boost/archive/impl/basic_binary_iprimitive.ipp14
-rw-r--r--boost/archive/impl/basic_binary_oarchive.ipp6
-rw-r--r--boost/archive/impl/basic_binary_oprimitive.ipp14
-rw-r--r--boost/archive/impl/basic_text_iarchive.ipp8
-rw-r--r--boost/archive/impl/basic_text_iprimitive.ipp13
-rw-r--r--boost/archive/impl/basic_text_oarchive.ipp4
-rw-r--r--boost/archive/impl/basic_text_oprimitive.ipp11
-rw-r--r--boost/archive/impl/basic_xml_grammar.hpp14
-rw-r--r--boost/archive/impl/basic_xml_iarchive.ipp24
-rw-r--r--boost/archive/impl/basic_xml_oarchive.ipp63
-rw-r--r--boost/archive/impl/text_iarchive_impl.ipp18
-rw-r--r--boost/archive/impl/text_oarchive_impl.ipp12
-rw-r--r--boost/archive/impl/text_wiarchive_impl.ipp10
-rw-r--r--boost/archive/impl/text_woarchive_impl.ipp8
-rw-r--r--boost/archive/impl/xml_iarchive_impl.ipp18
-rw-r--r--boost/archive/impl/xml_oarchive_impl.ipp22
-rw-r--r--boost/archive/impl/xml_wiarchive_impl.ipp27
-rw-r--r--boost/archive/impl/xml_woarchive_impl.ipp28
-rw-r--r--boost/archive/iterators/base64_from_binary.hpp6
-rw-r--r--boost/archive/iterators/binary_from_base64.hpp5
-rw-r--r--boost/archive/iterators/insert_linebreaks.hpp6
-rw-r--r--boost/archive/iterators/mb_from_wchar.hpp7
-rw-r--r--boost/archive/iterators/remove_whitespace.hpp6
-rw-r--r--boost/archive/iterators/transform_width.hpp8
-rw-r--r--boost/archive/iterators/wchar_from_mb.hpp5
-rw-r--r--boost/archive/iterators/xml_escape.hpp5
-rw-r--r--boost/archive/iterators/xml_unescape.hpp5
-rw-r--r--boost/archive/polymorphic_iarchive.hpp18
-rw-r--r--boost/archive/polymorphic_oarchive.hpp17
-rw-r--r--boost/archive/text_iarchive.hpp29
-rw-r--r--boost/archive/text_oarchive.hpp18
-rw-r--r--boost/archive/text_wiarchive.hpp20
-rw-r--r--boost/archive/text_woarchive.hpp12
-rw-r--r--boost/archive/xml_archive_exception.hpp5
-rw-r--r--boost/archive/xml_iarchive.hpp26
-rw-r--r--boost/archive/xml_oarchive.hpp14
-rw-r--r--boost/archive/xml_wiarchive.hpp26
-rw-r--r--boost/archive/xml_woarchive.hpp16
-rw-r--r--boost/bind/bind.hpp2
-rw-r--r--boost/bind/bind_mf_cc.hpp54
-rw-r--r--boost/concept/detail/general.hpp11
-rw-r--r--boost/config/compiler/intel.hpp73
-rw-r--r--boost/config/compiler/visualc.hpp49
-rw-r--r--boost/config/compiler/xlcpp.hpp258
-rw-r--r--boost/config/platform/haiku.hpp2
-rw-r--r--boost/config/select_compiler_config.hpp10
-rw-r--r--boost/config/stdlib/dinkumware.hpp19
-rw-r--r--boost/config/stdlib/libcomo.hpp12
-rw-r--r--boost/config/stdlib/libcpp.hpp10
-rw-r--r--boost/config/stdlib/libstdcpp3.hpp25
-rw-r--r--boost/config/stdlib/modena.hpp10
-rw-r--r--boost/config/stdlib/msl.hpp19
-rw-r--r--boost/config/stdlib/roguewave.hpp9
-rw-r--r--boost/config/stdlib/sgi.hpp13
-rw-r--r--boost/config/stdlib/stlport.hpp18
-rw-r--r--boost/config/stdlib/vacpp.hpp13
-rw-r--r--boost/container/adaptive_pool.hpp6
-rw-r--r--boost/container/allocator_traits.hpp73
-rw-r--r--boost/container/deque.hpp28
-rw-r--r--boost/container/detail/copy_move_algo.hpp71
-rw-r--r--boost/container/detail/flat_tree.hpp98
-rw-r--r--boost/container/detail/iterator.hpp1
-rw-r--r--boost/container/detail/iterators.hpp12
-rw-r--r--boost/container/detail/mpl.hpp175
-rw-r--r--boost/container/detail/node_alloc_holder.hpp108
-rw-r--r--boost/container/detail/pair.hpp79
-rw-r--r--boost/container/detail/std_fwd.hpp6
-rw-r--r--boost/container/detail/tree.hpp91
-rw-r--r--boost/container/detail/type_traits.hpp1
-rw-r--r--boost/container/list.hpp4
-rw-r--r--boost/container/node_allocator.hpp6
-rw-r--r--boost/container/scoped_allocator.hpp52
-rw-r--r--boost/container/slist.hpp4
-rw-r--r--boost/container/small_vector.hpp12
-rw-r--r--boost/container/stable_vector.hpp81
-rw-r--r--boost/container/string.hpp57
-rw-r--r--boost/container/vector.hpp471
-rw-r--r--boost/context/detail/config.hpp32
-rw-r--r--boost/context/detail/invoke.hpp48
-rw-r--r--boost/context/execution_context.hpp304
-rw-r--r--boost/context/execution_context.ipp374
-rw-r--r--boost/context/execution_context_winfib.ipp308
-rw-r--r--boost/context/fixedsize_stack.hpp6
-rw-r--r--boost/context/windows/protected_fixedsize_stack.hpp6
-rw-r--r--boost/convert.hpp216
-rw-r--r--boost/convert/base.hpp180
-rw-r--r--boost/convert/detail/boost_parameter_ext.hpp62
-rw-r--r--boost/convert/detail/char.hpp23
-rw-r--r--boost/convert/detail/forward.hpp39
-rw-r--r--boost/convert/detail/has_member.hpp61
-rw-r--r--boost/convert/detail/is_callable.hpp100
-rw-r--r--boost/convert/detail/is_converter.hpp47
-rw-r--r--boost/convert/detail/is_fun.hpp61
-rw-r--r--boost/convert/detail/is_string.hpp34
-rw-r--r--boost/convert/detail/range.hpp112
-rw-r--r--boost/convert/lexical_cast.hpp40
-rw-r--r--boost/convert/parameters.hpp33
-rw-r--r--boost/convert/printf.hpp89
-rw-r--r--boost/convert/spirit.hpp54
-rw-r--r--boost/convert/stream.hpp196
-rw-r--r--boost/convert/strtol.hpp218
-rw-r--r--boost/core/ignore_unused.hpp24
-rw-r--r--boost/coroutine/asymmetric_coroutine.hpp821
-rw-r--r--boost/coroutine/detail/coroutine_context.hpp8
-rw-r--r--boost/coroutine/detail/preallocated.hpp45
-rw-r--r--boost/coroutine/detail/pull_coroutine_object.hpp47
-rw-r--r--boost/coroutine/detail/push_coroutine_object.hpp51
-rw-r--r--boost/coroutine/detail/symmetric_coroutine_call.hpp301
-rw-r--r--boost/coroutine/detail/symmetric_coroutine_impl.hpp15
-rw-r--r--boost/coroutine/detail/symmetric_coroutine_object.hpp43
-rw-r--r--boost/coroutine/exceptions.hpp6
-rw-r--r--boost/coroutine2/all.hpp15
-rw-r--r--boost/coroutine2/coroutine.hpp39
-rw-r--r--boost/coroutine2/detail/config.hpp51
-rw-r--r--boost/coroutine2/detail/coroutine.hpp44
-rw-r--r--boost/coroutine2/detail/forced_unwind.hpp33
-rw-r--r--boost/coroutine2/detail/pull_control_block.hpp100
-rw-r--r--boost/coroutine2/detail/pull_control_block.ipp258
-rw-r--r--boost/coroutine2/detail/pull_coroutine.hpp312
-rw-r--r--boost/coroutine2/detail/pull_coroutine.ipp271
-rw-r--r--boost/coroutine2/detail/push_control_block.hpp104
-rw-r--r--boost/coroutine2/detail/push_control_block.ipp281
-rw-r--r--boost/coroutine2/detail/push_coroutine.hpp242
-rw-r--r--boost/coroutine2/detail/push_coroutine.ipp253
-rw-r--r--boost/coroutine2/detail/state.hpp37
-rw-r--r--boost/coroutine2/fixedsize_stack.hpp33
-rw-r--r--boost/coroutine2/protected_fixedsize_stack.hpp33
-rw-r--r--boost/coroutine2/segmented_stack.hpp37
-rw-r--r--boost/format/exceptions.hpp2
-rw-r--r--boost/format/feed_args.hpp2
-rw-r--r--boost/format/parsing.hpp2
-rw-r--r--boost/function/function_base.hpp14
-rw-r--r--boost/function/function_template.hpp30
-rw-r--r--boost/function_types/components.hpp3
-rw-r--r--boost/function_types/detail/classifier.hpp9
-rw-r--r--boost/function_types/function_arity.hpp2
-rw-r--r--boost/function_types/function_pointer.hpp2
-rw-r--r--boost/function_types/function_reference.hpp2
-rw-r--r--boost/function_types/function_type.hpp1
-rw-r--r--boost/function_types/is_callable_builtin.hpp2
-rw-r--r--boost/function_types/is_function.hpp2
-rw-r--r--boost/function_types/is_function_pointer.hpp2
-rw-r--r--boost/function_types/is_function_reference.hpp2
-rw-r--r--boost/function_types/is_member_function_pointer.hpp2
-rw-r--r--boost/function_types/is_member_object_pointer.hpp2
-rw-r--r--boost/function_types/is_member_pointer.hpp2
-rw-r--r--boost/function_types/is_nonmember_callable_builtin.hpp2
-rw-r--r--boost/function_types/member_function_pointer.hpp2
-rw-r--r--boost/function_types/member_object_pointer.hpp2
-rw-r--r--boost/function_types/parameter_types.hpp2
-rw-r--r--boost/function_types/result_type.hpp2
-rw-r--r--boost/fusion/adapted/std_tuple/detail/build_std_tuple.hpp35
-rw-r--r--boost/fusion/adapted/struct/adapt_struct.hpp19
-rw-r--r--boost/fusion/adapted/struct/detail/adapt_base_attr_filler.hpp10
-rw-r--r--boost/fusion/adapted/struct/detail/define_struct.hpp16
-rw-r--r--boost/fusion/adapted/struct/detail/define_struct_inline.hpp4
-rw-r--r--boost/fusion/algorithm/iteration/reverse_fold.hpp1
-rw-r--r--boost/fusion/algorithm/iteration/reverse_iter_fold.hpp1
-rw-r--r--boost/fusion/container/deque/detail/cpp03/deque.hpp8
-rw-r--r--boost/fusion/container/deque/detail/cpp03/deque_keyed_values.hpp1
-rw-r--r--boost/fusion/container/deque/detail/cpp03/limits.hpp2
-rw-r--r--boost/fusion/container/deque/detail/cpp03/preprocessed/deque10.hpp8
-rw-r--r--boost/fusion/container/deque/detail/cpp03/preprocessed/deque20.hpp8
-rw-r--r--boost/fusion/container/deque/detail/cpp03/preprocessed/deque30.hpp8
-rw-r--r--boost/fusion/container/deque/detail/cpp03/preprocessed/deque40.hpp8
-rw-r--r--boost/fusion/container/deque/detail/cpp03/preprocessed/deque50.hpp8
-rw-r--r--boost/fusion/container/generation/detail/pp_list_tie.hpp102
-rw-r--r--boost/fusion/container/generation/detail/pp_make_list.hpp115
-rw-r--r--boost/fusion/container/generation/detail/pp_make_set.hpp134
-rw-r--r--boost/fusion/container/generation/detail/pp_make_vector.hpp115
-rw-r--r--boost/fusion/container/generation/detail/pp_vector_tie.hpp100
-rw-r--r--boost/fusion/container/generation/ignore.hpp6
-rw-r--r--boost/fusion/container/generation/list_tie.hpp98
-rw-r--r--boost/fusion/container/generation/make_list.hpp105
-rw-r--r--boost/fusion/container/generation/make_set.hpp126
-rw-r--r--boost/fusion/container/generation/make_vector.hpp109
-rw-r--r--boost/fusion/container/generation/vector_tie.hpp95
-rw-r--r--boost/fusion/container/list.hpp1
-rw-r--r--boost/fusion/container/list/cons.hpp4
-rw-r--r--boost/fusion/container/list/detail/cpp03/limits.hpp (renamed from boost/fusion/container/list/limits.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/list.hpp102
-rw-r--r--boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp (renamed from boost/fusion/container/list/detail/list_forward_ctor.hpp)2
-rw-r--r--boost/fusion/container/list/detail/cpp03/list_fwd.hpp51
-rw-r--r--boost/fusion/container/list/detail/cpp03/list_to_cons.hpp76
-rw-r--r--boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp (renamed from boost/fusion/container/list/detail/list_to_cons_call.hpp)2
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list.hpp)10
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list10.hpp)4
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list10_fwd.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list20.hpp)4
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list20_fwd.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list30.hpp)4
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list30_fwd.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list40.hpp)4
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list40_fwd.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list50.hpp)4
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list50_fwd.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list_fwd.hpp)10
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list_to_cons.hpp)10
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list_to_cons10.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list_to_cons20.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list_to_cons30.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list_to_cons40.hpp)0
-rw-r--r--boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp (renamed from boost/fusion/container/list/detail/preprocessed/list_to_cons50.hpp)0
-rw-r--r--boost/fusion/container/list/detail/list_to_cons.hpp89
-rw-r--r--boost/fusion/container/list/list.hpp136
-rw-r--r--boost/fusion/container/list/list_fwd.hpp52
-rw-r--r--boost/fusion/container/map/detail/cpp03/limits.hpp2
-rw-r--r--boost/fusion/container/map/detail/cpp03/map.hpp2
-rw-r--r--boost/fusion/container/map/detail/cpp03/preprocessed/map10.hpp2
-rw-r--r--boost/fusion/container/map/detail/cpp03/preprocessed/map20.hpp2
-rw-r--r--boost/fusion/container/map/detail/cpp03/preprocessed/map30.hpp2
-rw-r--r--boost/fusion/container/map/detail/cpp03/preprocessed/map40.hpp2
-rw-r--r--boost/fusion/container/map/detail/cpp03/preprocessed/map50.hpp2
-rw-r--r--boost/fusion/container/map/map.hpp8
-rw-r--r--boost/fusion/container/set.hpp1
-rw-r--r--boost/fusion/container/set/detail/as_set.hpp136
-rw-r--r--boost/fusion/container/set/detail/cpp03/as_set.hpp139
-rw-r--r--boost/fusion/container/set/detail/cpp03/limits.hpp (renamed from boost/fusion/container/set/limits.hpp)2
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp (renamed from boost/fusion/container/set/detail/preprocessed/as_set.hpp)10
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp (renamed from boost/fusion/container/set/detail/preprocessed/as_set10.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp (renamed from boost/fusion/container/set/detail/preprocessed/as_set20.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp (renamed from boost/fusion/container/set/detail/preprocessed/as_set30.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp (renamed from boost/fusion/container/set/detail/preprocessed/as_set40.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp (renamed from boost/fusion/container/set/detail/preprocessed/as_set50.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set.hpp)10
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set10.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set10_fwd.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set20.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set20_fwd.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set30.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set30_fwd.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set40.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set40_fwd.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set50.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set50_fwd.hpp)0
-rw-r--r--boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp (renamed from boost/fusion/container/set/detail/preprocessed/set_fwd.hpp)10
-rw-r--r--boost/fusion/container/set/detail/cpp03/set.hpp106
-rw-r--r--boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp (renamed from boost/fusion/container/set/detail/set_forward_ctor.hpp)2
-rw-r--r--boost/fusion/container/set/detail/cpp03/set_fwd.hpp53
-rw-r--r--boost/fusion/container/set/set.hpp100
-rw-r--r--boost/fusion/container/set/set_fwd.hpp50
-rw-r--r--boost/fusion/container/vector.hpp2
-rw-r--r--boost/fusion/container/vector/detail/as_vector.hpp134
-rw-r--r--boost/fusion/container/vector/detail/cpp03/as_vector.hpp139
-rw-r--r--boost/fusion/container/vector/detail/cpp03/limits.hpp (renamed from boost/fusion/container/vector/limits.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/as_vector.hpp)10
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/as_vector10.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/as_vector20.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/as_vector30.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/as_vector40.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/as_vector50.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector.hpp)10
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector10.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector10_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector20.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector20_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector30.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector30_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector40.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector40_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector50.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector50_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector_chooser.hpp)10
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector_chooser10.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector_chooser20.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector_chooser30.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector_chooser40.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector_chooser50.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vector_fwd.hpp)10
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector10.hpp)4
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector10_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector20.hpp)4
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector20_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector30.hpp)4
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector30_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector40.hpp)4
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector40_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector50.hpp)4
-rw-r--r--boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp (renamed from boost/fusion/container/vector/detail/preprocessed/vvector50_fwd.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp34
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector.hpp247
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector10.hpp105
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp (renamed from boost/fusion/container/vector/vector10_fwd.hpp)6
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector20.hpp81
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp (renamed from boost/fusion/container/vector/vector20_fwd.hpp)6
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector30.hpp80
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp (renamed from boost/fusion/container/vector/vector30_fwd.hpp)6
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector40.hpp81
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp (renamed from boost/fusion/container/vector/vector40_fwd.hpp)6
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector50.hpp80
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp (renamed from boost/fusion/container/vector/vector50_fwd.hpp)6
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp (renamed from boost/fusion/container/vector/detail/vector_forward_ctor.hpp)2
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp66
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector_n.hpp (renamed from boost/fusion/container/vector/detail/vector_n.hpp)0
-rw-r--r--boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp (renamed from boost/fusion/container/vector/detail/vector_n_chooser.hpp)16
-rw-r--r--boost/fusion/container/vector/detail/value_at_impl.hpp35
-rw-r--r--boost/fusion/container/vector/vector.hpp253
-rw-r--r--boost/fusion/container/vector/vector10.hpp102
-rw-r--r--boost/fusion/container/vector/vector20.hpp78
-rw-r--r--boost/fusion/container/vector/vector30.hpp77
-rw-r--r--boost/fusion/container/vector/vector40.hpp78
-rw-r--r--boost/fusion/container/vector/vector50.hpp77
-rw-r--r--boost/fusion/container/vector/vector_fwd.hpp63
-rw-r--r--boost/fusion/functional/adapter/limits.hpp2
-rw-r--r--boost/fusion/functional/invocation/detail/that_ptr.hpp11
-rw-r--r--boost/fusion/sequence/comparison/less_equal.hpp32
-rw-r--r--boost/fusion/sequence/intrinsic/at.hpp8
-rw-r--r--boost/fusion/sequence/intrinsic/at_key.hpp23
-rw-r--r--boost/fusion/sequence/intrinsic/value_at.hpp23
-rw-r--r--boost/fusion/sequence/intrinsic/value_at_key.hpp25
-rw-r--r--boost/fusion/support/category_of.hpp9
-rw-r--r--boost/fusion/support/config.hpp13
-rw-r--r--boost/fusion/support/detail/index_sequence.hpp59
-rw-r--r--boost/fusion/support/pair.hpp2
-rw-r--r--boost/fusion/support/unused.hpp6
-rw-r--r--boost/fusion/tuple/detail/make_tuple.hpp86
-rw-r--r--boost/fusion/tuple/detail/preprocessed/tuple10.hpp4
-rw-r--r--boost/fusion/tuple/detail/preprocessed/tuple20.hpp4
-rw-r--r--boost/fusion/tuple/detail/preprocessed/tuple30.hpp4
-rw-r--r--boost/fusion/tuple/detail/preprocessed/tuple40.hpp4
-rw-r--r--boost/fusion/tuple/detail/preprocessed/tuple50.hpp4
-rw-r--r--boost/fusion/tuple/detail/tuple.hpp122
-rw-r--r--boost/fusion/tuple/detail/tuple_fwd.hpp52
-rw-r--r--boost/fusion/tuple/detail/tuple_tie.hpp76
-rw-r--r--boost/fusion/tuple/make_tuple.hpp83
-rw-r--r--boost/fusion/tuple/tuple.hpp117
-rw-r--r--boost/fusion/tuple/tuple_fwd.hpp49
-rw-r--r--boost/fusion/tuple/tuple_tie.hpp73
-rw-r--r--boost/fusion/view/nview/detail/cpp03/nview_impl.hpp78
-rw-r--r--boost/fusion/view/nview/detail/nview_impl.hpp72
-rw-r--r--boost/geometry/algorithms/append.hpp2
-rw-r--r--boost/geometry/algorithms/assign.hpp6
-rw-r--r--boost/geometry/algorithms/buffer.hpp13
-rw-r--r--boost/geometry/algorithms/centroid.hpp20
-rw-r--r--boost/geometry/algorithms/clear.hpp2
-rw-r--r--boost/geometry/algorithms/convert.hpp2
-rw-r--r--boost/geometry/algorithms/convex_hull.hpp13
-rw-r--r--boost/geometry/algorithms/crosses.hpp53
-rw-r--r--boost/geometry/algorithms/detail/andoyer_inverse.hpp163
-rw-r--r--boost/geometry/algorithms/detail/azimuth.hpp4
-rw-r--r--boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp104
-rw-r--r--boost/geometry/algorithms/detail/buffer/buffer_policies.hpp35
-rw-r--r--boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp192
-rw-r--r--boost/geometry/algorithms/detail/buffer/buffered_ring.hpp9
-rw-r--r--boost/geometry/algorithms/detail/buffer/get_piece_turns.hpp51
-rw-r--r--boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp244
-rw-r--r--boost/geometry/algorithms/detail/check_iterator_range.hpp4
-rw-r--r--boost/geometry/algorithms/detail/closest_feature/geometry_to_range.hpp5
-rw-r--r--boost/geometry/algorithms/detail/closest_feature/point_to_range.hpp6
-rw-r--r--boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp15
-rw-r--r--boost/geometry/algorithms/detail/comparable_distance/interface.hpp8
-rw-r--r--boost/geometry/algorithms/detail/disjoint/interface.hpp2
-rw-r--r--boost/geometry/algorithms/detail/disjoint/multipoint_geometry.hpp140
-rw-r--r--boost/geometry/algorithms/detail/disjoint/point_geometry.hpp47
-rw-r--r--boost/geometry/algorithms/detail/disjoint/point_point.hpp165
-rw-r--r--boost/geometry/algorithms/detail/distance/geometry_to_segment_or_box.hpp24
-rw-r--r--boost/geometry/algorithms/detail/distance/interface.hpp8
-rw-r--r--boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp5
-rw-r--r--boost/geometry/algorithms/detail/distance/segment_to_box.hpp8
-rw-r--r--boost/geometry/algorithms/detail/envelope/box.hpp167
-rw-r--r--boost/geometry/algorithms/detail/envelope/implementation.hpp106
-rw-r--r--boost/geometry/algorithms/detail/envelope/initialize.hpp86
-rw-r--r--boost/geometry/algorithms/detail/envelope/interface.hpp126
-rw-r--r--boost/geometry/algorithms/detail/envelope/intersects_antimeridian.hpp78
-rw-r--r--boost/geometry/algorithms/detail/envelope/linear.hpp96
-rw-r--r--boost/geometry/algorithms/detail/envelope/multipoint.hpp378
-rw-r--r--boost/geometry/algorithms/detail/envelope/point.hpp127
-rw-r--r--boost/geometry/algorithms/detail/envelope/range.hpp179
-rw-r--r--boost/geometry/algorithms/detail/envelope/range_of_boxes.hpp326
-rw-r--r--boost/geometry/algorithms/detail/envelope/segment.hpp386
-rw-r--r--boost/geometry/algorithms/detail/envelope/transform_units.hpp103
-rw-r--r--boost/geometry/algorithms/detail/expand/box.hpp126
-rw-r--r--boost/geometry/algorithms/detail/expand/implementation.hpp27
-rw-r--r--boost/geometry/algorithms/detail/expand/indexed.hpp144
-rw-r--r--boost/geometry/algorithms/detail/expand/interface.hpp128
-rw-r--r--boost/geometry/algorithms/detail/expand/point.hpp303
-rw-r--r--boost/geometry/algorithms/detail/expand/segment.hpp115
-rw-r--r--boost/geometry/algorithms/detail/get_left_turns.hpp18
-rw-r--r--boost/geometry/algorithms/detail/intersection/interface.hpp28
-rw-r--r--boost/geometry/algorithms/detail/intersection/multi.hpp6
-rw-r--r--boost/geometry/algorithms/detail/is_simple/linear.hpp12
-rw-r--r--boost/geometry/algorithms/detail/is_valid/box.hpp5
-rw-r--r--boost/geometry/algorithms/detail/is_valid/complement_graph.hpp18
-rw-r--r--boost/geometry/algorithms/detail/is_valid/has_duplicates.hpp15
-rw-r--r--boost/geometry/algorithms/detail/is_valid/has_spikes.hpp40
-rw-r--r--boost/geometry/algorithms/detail/is_valid/has_valid_self_turns.hpp7
-rw-r--r--boost/geometry/algorithms/detail/is_valid/interface.hpp6
-rw-r--r--boost/geometry/algorithms/detail/is_valid/linear.hpp5
-rw-r--r--boost/geometry/algorithms/detail/is_valid/multipolygon.hpp18
-rw-r--r--boost/geometry/algorithms/detail/is_valid/pointlike.hpp10
-rw-r--r--boost/geometry/algorithms/detail/is_valid/polygon.hpp15
-rw-r--r--boost/geometry/algorithms/detail/is_valid/ring.hpp9
-rw-r--r--boost/geometry/algorithms/detail/is_valid/segment.hpp5
-rw-r--r--boost/geometry/algorithms/detail/max_interval_gap.hpp278
-rw-r--r--boost/geometry/algorithms/detail/normalize.hpp294
-rw-r--r--boost/geometry/algorithms/detail/occupation_info.hpp31
-rw-r--r--boost/geometry/algorithms/detail/overlay/add_rings.hpp2
-rw-r--r--boost/geometry/algorithms/detail/overlay/assign_parents.hpp2
-rw-r--r--boost/geometry/algorithms/detail/overlay/check_enrich.hpp4
-rw-r--r--boost/geometry/algorithms/detail/overlay/clip_linestring.hpp9
-rw-r--r--boost/geometry/algorithms/detail/overlay/copy_segment_point.hpp14
-rw-r--r--boost/geometry/algorithms/detail/overlay/copy_segments.hpp47
-rw-r--r--boost/geometry/algorithms/detail/overlay/enrich_intersection_points.hpp5
-rw-r--r--boost/geometry/algorithms/detail/overlay/enrichment_info.hpp6
-rw-r--r--boost/geometry/algorithms/detail/overlay/follow.hpp14
-rw-r--r--boost/geometry/algorithms/detail/overlay/follow_linear_linear.hpp20
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp3
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_ring.hpp6
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_turn_info.hpp6
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_turn_info_for_endpoint.hpp25
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_turn_info_helpers.hpp93
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_turn_info_la.hpp6
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_turn_info_ll.hpp8
-rw-r--r--boost/geometry/algorithms/detail/overlay/get_turns.hpp27
-rw-r--r--boost/geometry/algorithms/detail/overlay/intersection_insert.hpp132
-rw-r--r--boost/geometry/algorithms/detail/overlay/linear_linear.hpp30
-rw-r--r--boost/geometry/algorithms/detail/overlay/overlay.hpp23
-rw-r--r--boost/geometry/algorithms/detail/overlay/pointlike_linear.hpp343
-rw-r--r--boost/geometry/algorithms/detail/overlay/pointlike_pointlike.hpp8
-rw-r--r--boost/geometry/algorithms/detail/overlay/ring_properties.hpp7
-rw-r--r--boost/geometry/algorithms/detail/overlay/segment_identifier.hpp18
-rw-r--r--boost/geometry/algorithms/detail/overlay/self_turn_points.hpp1
-rw-r--r--boost/geometry/algorithms/detail/overlay/traverse.hpp9
-rw-r--r--boost/geometry/algorithms/detail/partition.hpp456
-rw-r--r--boost/geometry/algorithms/detail/recalculate.hpp1
-rw-r--r--boost/geometry/algorithms/detail/relate/areal_areal.hpp28
-rw-r--r--boost/geometry/algorithms/detail/relate/boundary_checker.hpp2
-rw-r--r--boost/geometry/algorithms/detail/relate/de9im.hpp439
-rw-r--r--boost/geometry/algorithms/detail/relate/follow_helpers.hpp22
-rw-r--r--boost/geometry/algorithms/detail/relate/implementation.hpp110
-rw-r--r--boost/geometry/algorithms/detail/relate/interface.hpp348
-rw-r--r--boost/geometry/algorithms/detail/relate/less.hpp4
-rw-r--r--boost/geometry/algorithms/detail/relate/linear_areal.hpp71
-rw-r--r--boost/geometry/algorithms/detail/relate/linear_linear.hpp16
-rw-r--r--boost/geometry/algorithms/detail/relate/point_geometry.hpp17
-rw-r--r--boost/geometry/algorithms/detail/relate/point_point.hpp39
-rw-r--r--boost/geometry/algorithms/detail/relate/relate.hpp339
-rw-r--r--boost/geometry/algorithms/detail/relate/relate_impl.hpp80
-rw-r--r--boost/geometry/algorithms/detail/relate/result.hpp648
-rw-r--r--boost/geometry/algorithms/detail/relate/turns.hpp33
-rw-r--r--boost/geometry/algorithms/detail/relation/implementation.hpp18
-rw-r--r--boost/geometry/algorithms/detail/relation/interface.hpp186
-rw-r--r--boost/geometry/algorithms/detail/result_inverse.hpp44
-rw-r--r--boost/geometry/algorithms/detail/ring_identifier.hpp14
-rw-r--r--boost/geometry/algorithms/detail/sections/range_by_section.hpp4
-rw-r--r--boost/geometry/algorithms/detail/sections/sectionalize.hpp33
-rw-r--r--boost/geometry/algorithms/detail/signed_size_type.hpp (renamed from boost/geometry/algorithms/detail/signed_index_type.hpp)11
-rw-r--r--boost/geometry/algorithms/detail/single_geometry.hpp12
-rw-r--r--boost/geometry/algorithms/detail/sub_range.hpp12
-rw-r--r--boost/geometry/algorithms/detail/sweep.hpp87
-rw-r--r--boost/geometry/algorithms/detail/thomas_inverse.hpp191
-rw-r--r--boost/geometry/algorithms/detail/throw_on_empty_input.hpp15
-rw-r--r--boost/geometry/algorithms/detail/turns/compare_turns.hpp16
-rw-r--r--boost/geometry/algorithms/detail/turns/print_turns.hpp4
-rw-r--r--boost/geometry/algorithms/detail/vincenty_direct.hpp121
-rw-r--r--boost/geometry/algorithms/detail/vincenty_inverse.hpp166
-rw-r--r--boost/geometry/algorithms/detail/within/point_in_geometry.hpp8
-rw-r--r--boost/geometry/algorithms/dispatch/envelope.hpp49
-rw-r--r--boost/geometry/algorithms/dispatch/expand.hpp58
-rw-r--r--boost/geometry/algorithms/envelope.hpp294
-rw-r--r--boost/geometry/algorithms/equals.hpp13
-rw-r--r--boost/geometry/algorithms/expand.hpp348
-rw-r--r--boost/geometry/algorithms/is_convex.hpp160
-rw-r--r--boost/geometry/algorithms/is_empty.hpp207
-rw-r--r--boost/geometry/algorithms/length.hpp2
-rw-r--r--boost/geometry/algorithms/overlaps.hpp7
-rw-r--r--boost/geometry/algorithms/relate.hpp17
-rw-r--r--boost/geometry/algorithms/relation.hpp17
-rw-r--r--boost/geometry/algorithms/simplify.hpp2
-rw-r--r--boost/geometry/algorithms/sym_difference.hpp201
-rw-r--r--boost/geometry/algorithms/touches.hpp17
-rw-r--r--boost/geometry/algorithms/transform.hpp31
-rw-r--r--boost/geometry/algorithms/within.hpp30
-rw-r--r--boost/geometry/arithmetic/arithmetic.hpp101
-rw-r--r--boost/geometry/core/assert.hpp43
-rw-r--r--boost/geometry/core/exception.hpp38
-rw-r--r--boost/geometry/core/radian_access.hpp16
-rw-r--r--boost/geometry/geometries/box.hpp89
-rw-r--r--boost/geometry/geometries/concepts/point_concept.hpp2
-rw-r--r--boost/geometry/geometries/helper_geometry.hpp162
-rw-r--r--boost/geometry/geometries/linestring.hpp5
-rw-r--r--boost/geometry/geometries/multi_linestring.hpp11
-rw-r--r--boost/geometry/geometries/multi_point.hpp6
-rw-r--r--boost/geometry/geometries/multi_polygon.hpp11
-rw-r--r--boost/geometry/geometries/point.hpp62
-rw-r--r--boost/geometry/geometries/point_xy.hpp10
-rw-r--r--boost/geometry/geometries/pointing_segment.hpp13
-rw-r--r--boost/geometry/geometries/polygon.hpp10
-rw-r--r--boost/geometry/geometries/ring.hpp5
-rw-r--r--boost/geometry/geometries/segment.hpp21
-rw-r--r--boost/geometry/geometry.hpp7
-rw-r--r--boost/geometry/index/detail/assert.hpp10
-rw-r--r--boost/geometry/index/detail/bounded_view.hpp64
-rw-r--r--boost/geometry/index/detail/predicates.hpp10
-rw-r--r--boost/geometry/index/detail/rtree/iterators.hpp122
-rw-r--r--boost/geometry/index/detail/rtree/node/node.hpp6
-rw-r--r--boost/geometry/index/detail/rtree/pack_create.hpp66
-rw-r--r--boost/geometry/index/detail/rtree/quadratic/redistribute_elements.hpp5
-rw-r--r--boost/geometry/index/detail/rtree/query_iterators.hpp27
-rw-r--r--boost/geometry/index/detail/rtree/visitors/distance_query.hpp8
-rw-r--r--boost/geometry/index/detail/rtree/visitors/iterator.hpp134
-rw-r--r--boost/geometry/index/detail/rtree/visitors/spatial_query.hpp10
-rw-r--r--boost/geometry/index/rtree.hpp341
-rw-r--r--boost/geometry/io/svg/svg_mapper.hpp21
-rw-r--r--boost/geometry/io/wkt/read.hpp146
-rw-r--r--boost/geometry/io/wkt/write.hpp19
-rw-r--r--boost/geometry/iterators/concatenate_iterator.hpp1
-rw-r--r--boost/geometry/iterators/detail/segment_iterator/value_type.hpp38
-rw-r--r--boost/geometry/iterators/flatten_iterator.hpp19
-rw-r--r--boost/geometry/iterators/point_iterator.hpp1
-rw-r--r--boost/geometry/multi/multi.hpp73
-rw-r--r--boost/geometry/policies/is_valid/failing_reason_policy.hpp12
-rw-r--r--boost/geometry/policies/relate/de9im.hpp168
-rw-r--r--boost/geometry/policies/relate/intersection_points.hpp32
-rw-r--r--boost/geometry/policies/robustness/get_rescale_policy.hpp56
-rw-r--r--boost/geometry/policies/robustness/rescale_policy.hpp17
-rw-r--r--boost/geometry/policies/robustness/segment_ratio.hpp38
-rw-r--r--boost/geometry/strategies/agnostic/hull_graham_andrew.hpp3
-rw-r--r--boost/geometry/strategies/agnostic/relate.hpp30
-rw-r--r--boost/geometry/strategies/agnostic/side_by_azimuth.hpp87
-rw-r--r--boost/geometry/strategies/buffer.hpp14
-rw-r--r--boost/geometry/strategies/cartesian/buffer_end_round.hpp10
-rw-r--r--boost/geometry/strategies/cartesian/buffer_join_miter.hpp4
-rw-r--r--boost/geometry/strategies/cartesian/buffer_join_round.hpp16
-rw-r--r--boost/geometry/strategies/cartesian/buffer_join_round_by_divide.hpp1
-rw-r--r--boost/geometry/strategies/cartesian/buffer_point_circle.hpp3
-rw-r--r--boost/geometry/strategies/cartesian/buffer_side_straight.hpp39
-rw-r--r--boost/geometry/strategies/cartesian/cart_intersect.hpp27
-rw-r--r--boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp24
-rw-r--r--boost/geometry/strategies/cartesian/centroid_weighted_length.hpp41
-rw-r--r--boost/geometry/strategies/cartesian/side_of_intersection.hpp248
-rw-r--r--boost/geometry/strategies/geographic/distance_thomas.hpp156
-rw-r--r--boost/geometry/strategies/geographic/distance_vincenty.hpp13
-rw-r--r--boost/geometry/strategies/geographic/side_andoyer.hpp55
-rw-r--r--boost/geometry/strategies/geographic/side_detail.hpp139
-rw-r--r--boost/geometry/strategies/geographic/side_thomas.hpp55
-rw-r--r--boost/geometry/strategies/geographic/side_vincenty.hpp55
-rw-r--r--boost/geometry/strategies/intersection_result.hpp143
-rw-r--r--boost/geometry/strategies/spherical/area_huiller.hpp58
-rw-r--r--boost/geometry/strategies/spherical/distance_cross_track.hpp19
-rw-r--r--boost/geometry/strategies/spherical/distance_cross_track_point_box.hpp293
-rw-r--r--boost/geometry/strategies/strategies.hpp12
-rw-r--r--boost/geometry/strategies/strategy_transform.hpp33
-rw-r--r--boost/geometry/strategies/transform/matrix_transformers.hpp15
-rw-r--r--boost/geometry/util/math.hpp171
-rw-r--r--boost/geometry/util/normalize_spheroidal_box_coordinates.hpp160
-rw-r--r--boost/geometry/util/normalize_spheroidal_coordinates.hpp218
-rw-r--r--boost/geometry/util/range.hpp28
-rw-r--r--boost/geometry/views/detail/boundary_view.hpp16
-rw-r--r--boost/geometry/views/detail/boundary_view/implementation.hpp466
-rw-r--r--boost/geometry/views/detail/boundary_view/interface.hpp70
-rw-r--r--boost/geometry/views/detail/indexed_point_view.hpp33
-rw-r--r--boost/geometry/views/detail/two_dimensional_view.hpp196
-rw-r--r--boost/get_pointer.hpp28
-rw-r--r--boost/heap/detail/tree_iterator.hpp18
-rw-r--r--boost/heap/fibonacci_heap.hpp14
-rw-r--r--boost/heap/pairing_heap.hpp2
-rw-r--r--boost/interprocess/detail/std_fwd.hpp6
-rw-r--r--boost/interprocess/detail/xsi_shared_memory_device.hpp401
-rw-r--r--boost/interprocess/exceptions.hpp53
-rw-r--r--boost/interprocess/streams/bufferstream.hpp4
-rw-r--r--boost/interprocess/streams/vectorstream.hpp4
-rw-r--r--boost/interprocess/sync/xsi/advanced_xsi_semaphore.hpp201
-rw-r--r--boost/interprocess/sync/xsi/simple_xsi_semaphore.hpp124
-rw-r--r--boost/interprocess/sync/xsi/xsi_named_mutex.hpp238
-rw-r--r--boost/intrusive/avl_set.hpp390
-rw-r--r--boost/intrusive/avltree.hpp232
-rw-r--r--boost/intrusive/bs_set.hpp390
-rw-r--r--boost/intrusive/bstree.hpp648
-rw-r--r--boost/intrusive/bstree_algorithms.hpp4
-rw-r--r--boost/intrusive/detail/common_slist_algorithms.hpp2
-rw-r--r--boost/intrusive/detail/default_header_holder.hpp8
-rw-r--r--boost/intrusive/detail/ebo_functor_holder.hpp1
-rw-r--r--boost/intrusive/detail/get_value_traits.hpp6
-rw-r--r--boost/intrusive/detail/hashtable_node.hpp69
-rw-r--r--boost/intrusive/detail/is_stateful_value_traits.hpp2
-rw-r--r--boost/intrusive/detail/iterator.hpp8
-rw-r--r--boost/intrusive/detail/key_nodeptr_comp.hpp28
-rw-r--r--boost/intrusive/detail/list_iterator.hpp2
-rw-r--r--boost/intrusive/detail/math.hpp8
-rw-r--r--boost/intrusive/detail/mpl.hpp320
-rw-r--r--boost/intrusive/detail/node_cloner_disposer.hpp41
-rw-r--r--boost/intrusive/detail/reverse_iterator.hpp33
-rw-r--r--boost/intrusive/detail/slist_iterator.hpp2
-rw-r--r--boost/intrusive/detail/std_fwd.hpp6
-rw-r--r--boost/intrusive/detail/transform_iterator.hpp13
-rw-r--r--boost/intrusive/detail/tree_iterator.hpp6
-rw-r--r--boost/intrusive/detail/tree_value_compare.hpp78
-rw-r--r--boost/intrusive/hashtable.hpp2320
-rw-r--r--boost/intrusive/intrusive_fwd.hpp18
-rw-r--r--boost/intrusive/list.hpp167
-rw-r--r--boost/intrusive/options.hpp11
-rw-r--r--boost/intrusive/rbtree.hpp236
-rw-r--r--boost/intrusive/rbtree_algorithms.hpp4
-rw-r--r--boost/intrusive/set.hpp390
-rw-r--r--boost/intrusive/sg_set.hpp390
-rw-r--r--boost/intrusive/sgtree.hpp287
-rw-r--r--boost/intrusive/slist.hpp206
-rw-r--r--boost/intrusive/splay_set.hpp416
-rw-r--r--boost/intrusive/splaytree.hpp255
-rw-r--r--boost/intrusive/treap.hpp395
-rw-r--r--boost/intrusive/treap_set.hpp398
-rw-r--r--boost/intrusive/unordered_set.hpp1917
-rw-r--r--boost/iterator/is_lvalue_iterator.hpp26
-rw-r--r--boost/iterator/is_readable_iterator.hpp16
-rw-r--r--boost/iterator/iterator_categories.hpp7
-rw-r--r--boost/iterator/iterator_facade.hpp11
-rw-r--r--boost/lambda/detail/lambda_config.hpp7
-rw-r--r--boost/lambda/detail/lambda_traits.hpp5
-rw-r--r--boost/lambda/detail/operator_return_type_traits.hpp39
-rw-r--r--boost/lambda/detail/operators.hpp18
-rw-r--r--boost/lambda/detail/return_type_traits.hpp25
-rw-r--r--boost/lambda/detail/suppress_unused.hpp4
-rw-r--r--boost/lambda/lambda.hpp5
-rw-r--r--boost/lexical_cast.hpp7
-rw-r--r--boost/lexical_cast/detail/converter_lexical.hpp38
-rw-r--r--boost/lexical_cast/detail/converter_lexical_streams.hpp1
-rw-r--r--boost/lexical_cast/detail/converter_numeric.hpp42
-rw-r--r--boost/lexical_cast/detail/is_character.hpp19
-rw-r--r--boost/lexical_cast/detail/lcast_unsigned_converters.hpp1
-rw-r--r--boost/lexical_cast/try_lexical_convert.hpp53
-rw-r--r--boost/lockfree/detail/copy_payload.hpp9
-rw-r--r--boost/lockfree/detail/freelist.hpp1
-rw-r--r--boost/lockfree/spsc_queue.hpp10
-rw-r--r--boost/log/attributes/attribute_value.hpp8
-rw-r--r--boost/log/attributes/attribute_value_impl.hpp3
-rw-r--r--boost/log/attributes/current_thread_id.hpp2
-rw-r--r--boost/log/attributes/fallback_policy.hpp8
-rw-r--r--boost/log/core/record_view.hpp4
-rw-r--r--boost/log/detail/code_conversion.hpp57
-rw-r--r--boost/log/detail/config.hpp7
-rw-r--r--boost/log/detail/event.hpp44
-rw-r--r--boost/log/detail/is_character_type.hpp75
-rw-r--r--boost/log/detail/is_ostream.hpp (renamed from boost/log/detail/visible_type.hpp)25
-rw-r--r--boost/log/exceptions.hpp6
-rw-r--r--boost/log/expressions/formatters/c_decorator.hpp13
-rw-r--r--boost/log/expressions/formatters/csv_decorator.hpp2
-rw-r--r--boost/log/expressions/formatters/xml_decorator.hpp2
-rw-r--r--boost/log/sinks/event_log_backend.hpp4
-rw-r--r--boost/log/sources/global_logger_storage.hpp42
-rw-r--r--boost/log/support/exception.hpp4
-rw-r--r--boost/log/utility/empty_deleter.hpp42
-rw-r--r--boost/log/utility/explicit_operator_bool.hpp42
-rw-r--r--boost/log/utility/formatting_ostream.hpp126
-rw-r--r--boost/log/utility/intrusive_ref_counter.hpp55
-rw-r--r--boost/log/utility/manipulators/to_log.hpp24
-rw-r--r--boost/log/utility/type_dispatch/date_time_types.hpp94
-rw-r--r--boost/log/utility/type_dispatch/dynamic_type_dispatcher.hpp12
-rw-r--r--boost/log/utility/type_dispatch/standard_types.hpp122
-rw-r--r--boost/log/utility/type_dispatch/static_type_dispatcher.hpp34
-rw-r--r--boost/log/utility/type_dispatch/type_dispatcher.hpp7
-rw-r--r--boost/log/utility/type_info_wrapper.hpp6
-rw-r--r--boost/make_default.hpp40
-rw-r--r--boost/math/cstdfloat/cstdfloat_limits.hpp2
-rw-r--r--boost/math/special_functions/detail/bernoulli_details.hpp2
-rw-r--r--boost/math/tools/big_constant.hpp2
-rw-r--r--boost/math/tools/config.hpp8
-rw-r--r--boost/move/core.hpp61
-rw-r--r--boost/move/detail/meta_utils.hpp196
-rw-r--r--boost/move/detail/meta_utils_core.hpp26
-rw-r--r--boost/move/detail/move_helpers.hpp53
-rw-r--r--boost/move/detail/type_traits.hpp125
-rw-r--r--boost/move/detail/workaround.hpp10
-rw-r--r--boost/move/unique_ptr.hpp22
-rw-r--r--boost/move/utility_core.hpp76
-rw-r--r--boost/mpi/collectives.hpp138
-rw-r--r--boost/mpi/collectives/gatherv.hpp164
-rw-r--r--boost/mpi/collectives/reduce.hpp44
-rw-r--r--boost/mpi/collectives/scatterv.hpp166
-rw-r--r--boost/mpi/communicator.hpp64
-rw-r--r--boost/mpi/config.hpp25
-rw-r--r--boost/mpi/datatype.hpp12
-rw-r--r--boost/mpi/detail/forward_skeleton_iarchive.hpp17
-rw-r--r--boost/mpi/detail/forward_skeleton_oarchive.hpp17
-rw-r--r--boost/mpi/detail/ignore_skeleton_oarchive.hpp18
-rw-r--r--boost/mpi/detail/mpi_datatype_oarchive.hpp9
-rw-r--r--boost/mpi/nonblocking.hpp12
-rw-r--r--boost/mpi/packed_iarchive.hpp22
-rw-r--r--boost/mpi/packed_oarchive.hpp20
-rw-r--r--boost/mpl/aux_/insert_range_impl.hpp35
-rw-r--r--boost/mpl/empty_base.hpp16
-rw-r--r--boost/mpl/empty_sequence.hpp3
-rw-r--r--boost/mpl/map/aux_/insert_range_impl.hpp41
-rw-r--r--boost/mpl/map/aux_/item.hpp3
-rw-r--r--boost/mpl/map/map0.hpp1
-rw-r--r--boost/mpl/set/aux_/insert_range_impl.hpp41
-rw-r--r--boost/mpl/set/aux_/item.hpp2
-rw-r--r--boost/mpl/set/set0.hpp1
-rw-r--r--boost/multi_index/composite_key.hpp18
-rw-r--r--boost/multi_index/detail/archive_constructed.hpp4
-rw-r--r--boost/multi_index/detail/bucket_array.hpp5
-rw-r--r--boost/multi_index/detail/copy_map.hpp15
-rw-r--r--boost/multi_index/detail/hash_index_node.hpp22
-rw-r--r--boost/multi_index/detail/index_loader.hpp5
-rw-r--r--boost/multi_index/detail/index_matcher.hpp5
-rw-r--r--boost/multi_index/detail/index_node_base.hpp8
-rw-r--r--boost/multi_index/detail/ord_index_impl.hpp1567
-rw-r--r--boost/multi_index/detail/ord_index_impl_fwd.hpp128
-rw-r--r--boost/multi_index/detail/ord_index_node.hpp104
-rw-r--r--boost/multi_index/detail/raw_ptr.hpp52
-rw-r--r--boost/multi_index/detail/rnd_index_node.hpp13
-rw-r--r--boost/multi_index/detail/rnd_index_ops.hpp10
-rw-r--r--boost/multi_index/detail/rnk_index_ops.hpp300
-rw-r--r--boost/multi_index/detail/seq_index_node.hpp15
-rw-r--r--boost/multi_index/detail/seq_index_ops.hpp6
-rw-r--r--boost/multi_index/detail/value_compare.hpp9
-rw-r--r--boost/multi_index/global_fun.hpp4
-rw-r--r--boost/multi_index/identity.hpp4
-rw-r--r--boost/multi_index/mem_fun.hpp4
-rw-r--r--boost/multi_index/member.hpp4
-rw-r--r--boost/multi_index/ordered_index.hpp1461
-rw-r--r--boost/multi_index/ordered_index_fwd.hpp93
-rw-r--r--boost/multi_index/random_access_index.hpp7
-rw-r--r--boost/multi_index/ranked_index.hpp382
-rw-r--r--boost/multi_index/ranked_index_fwd.hpp35
-rw-r--r--boost/multi_index/sequenced_index.hpp6
-rw-r--r--boost/multiprecision/concepts/mp_number_archetypes.hpp20
-rw-r--r--boost/multiprecision/cpp_bin_float.hpp50
-rw-r--r--boost/multiprecision/cpp_bin_float/io.hpp10
-rw-r--r--boost/multiprecision/cpp_dec_float.hpp213
-rw-r--r--boost/multiprecision/cpp_int.hpp91
-rw-r--r--boost/multiprecision/cpp_int/add.hpp44
-rw-r--r--boost/multiprecision/cpp_int/bitwise.hpp82
-rw-r--r--boost/multiprecision/cpp_int/checked.hpp4
-rw-r--r--boost/multiprecision/cpp_int/cpp_int_config.hpp10
-rw-r--r--boost/multiprecision/cpp_int/divide.hpp2
-rw-r--r--boost/multiprecision/cpp_int/misc.hpp14
-rw-r--r--boost/multiprecision/cpp_int/multiply.hpp30
-rw-r--r--boost/multiprecision/cpp_int/serialize.hpp2
-rw-r--r--boost/multiprecision/detail/bitscan.hpp10
-rw-r--r--boost/multiprecision/detail/default_ops.hpp44
-rw-r--r--boost/multiprecision/detail/functions/pow.hpp10
-rw-r--r--boost/multiprecision/detail/functions/trig.hpp20
-rw-r--r--boost/multiprecision/detail/generic_interconvert.hpp10
-rw-r--r--boost/multiprecision/detail/number_base.hpp24
-rw-r--r--boost/multiprecision/detail/number_compare.hpp156
-rw-r--r--boost/multiprecision/float128.hpp52
-rw-r--r--boost/multiprecision/gmp.hpp153
-rw-r--r--boost/multiprecision/integer.hpp6
-rw-r--r--boost/multiprecision/mpfi.hpp33
-rw-r--r--boost/multiprecision/mpfr.hpp73
-rw-r--r--boost/multiprecision/number.hpp36
-rw-r--r--boost/multiprecision/rational_adaptor.hpp14
-rw-r--r--boost/multiprecision/tommath.hpp19
-rw-r--r--boost/multiprecision/traits/is_backend.hpp63
-rw-r--r--boost/numeric/odeint/external/openmp/openmp_range_algebra.hpp2
-rw-r--r--boost/numeric/odeint/integrate/detail/integrate_adaptive.hpp2
-rw-r--r--boost/numeric/odeint/integrate/detail/integrate_times.hpp4
-rw-r--r--boost/numeric/odeint/stepper/bulirsch_stoer_dense_out.hpp6
-rw-r--r--boost/numeric/odeint/util/detail/less_with_sign.hpp4
-rw-r--r--boost/numeric/ublas/storage.hpp6
-rw-r--r--boost/optional/optional.hpp54
-rw-r--r--boost/parameter/aux_/arg_list.hpp31
-rw-r--r--boost/parameter/aux_/cast.hpp6
-rw-r--r--[-rwxr-xr-x]boost/parameter/aux_/parenthesized_type.hpp84
-rw-r--r--boost/parameter/aux_/set.hpp3
-rw-r--r--boost/parameter/aux_/tagged_argument.hpp4
-rw-r--r--[-rwxr-xr-x]boost/parameter/aux_/unwrap_cv_reference.hpp6
-rw-r--r--[-rwxr-xr-x]boost/parameter/binding.hpp30
-rw-r--r--[-rwxr-xr-x]boost/parameter/keyword.hpp30
-rw-r--r--boost/parameter/name.hpp20
-rw-r--r--boost/parameter/preprocessor.hpp113
-rw-r--r--[-rwxr-xr-x]boost/parameter/value_type.hpp30
-rw-r--r--boost/phoenix/scope/let.hpp6
-rw-r--r--boost/polygon/detail/voronoi_ctypes.hpp6
-rw-r--r--boost/polygon/voronoi_diagram.hpp4
-rw-r--r--boost/predef.h6
-rw-r--r--boost/predef/architecture.h4
-rw-r--r--boost/predef/architecture/alpha.h7
-rw-r--r--boost/predef/architecture/arm.h7
-rw-r--r--boost/predef/architecture/blackfin.h7
-rw-r--r--boost/predef/architecture/convex.h8
-rw-r--r--boost/predef/architecture/ia64.h6
-rw-r--r--boost/predef/architecture/m68k.h7
-rw-r--r--boost/predef/architecture/mips.h7
-rw-r--r--boost/predef/architecture/parisc.h7
-rw-r--r--boost/predef/architecture/ppc.h7
-rw-r--r--boost/predef/architecture/pyramid.h7
-rw-r--r--boost/predef/architecture/rs6k.h8
-rw-r--r--boost/predef/architecture/sparc.h7
-rw-r--r--boost/predef/architecture/superh.h7
-rw-r--r--boost/predef/architecture/sys370.h7
-rw-r--r--boost/predef/architecture/sys390.h7
-rw-r--r--boost/predef/architecture/x86.h12
-rw-r--r--boost/predef/architecture/x86/32.h8
-rw-r--r--boost/predef/architecture/x86/64.h8
-rw-r--r--boost/predef/architecture/z.h7
-rw-r--r--boost/predef/compiler.h4
-rw-r--r--boost/predef/compiler/borland.h7
-rw-r--r--boost/predef/compiler/clang.h7
-rw-r--r--boost/predef/compiler/comeau.h9
-rw-r--r--boost/predef/compiler/compaq.h7
-rw-r--r--boost/predef/compiler/diab.h7
-rw-r--r--boost/predef/compiler/digitalmars.h7
-rw-r--r--boost/predef/compiler/dignus.h7
-rw-r--r--boost/predef/compiler/edg.h7
-rw-r--r--boost/predef/compiler/ekopath.h7
-rw-r--r--boost/predef/compiler/gcc.h7
-rw-r--r--boost/predef/compiler/gcc_xml.h6
-rw-r--r--boost/predef/compiler/greenhills.h7
-rw-r--r--boost/predef/compiler/hp_acc.h7
-rw-r--r--boost/predef/compiler/iar.h7
-rw-r--r--boost/predef/compiler/ibm.h7
-rw-r--r--boost/predef/compiler/intel.h7
-rw-r--r--boost/predef/compiler/kai.h7
-rw-r--r--boost/predef/compiler/llvm.h7
-rw-r--r--boost/predef/compiler/metaware.h7
-rw-r--r--boost/predef/compiler/metrowerks.h7
-rw-r--r--boost/predef/compiler/microtec.h7
-rw-r--r--boost/predef/compiler/mpw.h7
-rw-r--r--boost/predef/compiler/palm.h7
-rw-r--r--boost/predef/compiler/pgi.h7
-rw-r--r--boost/predef/compiler/sgi_mipspro.h7
-rw-r--r--boost/predef/compiler/sunpro.h25
-rw-r--r--boost/predef/compiler/tendra.h7
-rw-r--r--boost/predef/compiler/visualc.h7
-rw-r--r--boost/predef/compiler/watcom.h7
-rw-r--r--boost/predef/detail/test_def.h71
-rw-r--r--boost/predef/language.h4
-rw-r--r--boost/predef/language/objc.h7
-rw-r--r--boost/predef/language/stdc.h7
-rw-r--r--boost/predef/language/stdcpp.h19
-rw-r--r--boost/predef/library.h4
-rw-r--r--boost/predef/library/c.h4
-rw-r--r--boost/predef/library/c/gnu.h7
-rw-r--r--boost/predef/library/c/uc.h7
-rw-r--r--boost/predef/library/c/vms.h7
-rw-r--r--boost/predef/library/c/zos.h7
-rw-r--r--boost/predef/library/std.h4
-rw-r--r--boost/predef/library/std/cxx.h7
-rw-r--r--boost/predef/library/std/dinkumware.h7
-rw-r--r--boost/predef/library/std/libcomo.h7
-rw-r--r--boost/predef/library/std/modena.h7
-rw-r--r--boost/predef/library/std/msl.h7
-rw-r--r--boost/predef/library/std/roguewave.h7
-rw-r--r--boost/predef/library/std/sgi.h7
-rw-r--r--boost/predef/library/std/stdcpp3.h7
-rw-r--r--boost/predef/library/std/stlport.h7
-rw-r--r--boost/predef/library/std/vacpp.h7
-rw-r--r--boost/predef/make.h4
-rw-r--r--boost/predef/os.h4
-rw-r--r--boost/predef/os/aix.h7
-rw-r--r--boost/predef/os/amigaos.h7
-rw-r--r--boost/predef/os/android.h7
-rw-r--r--boost/predef/os/beos.h7
-rw-r--r--boost/predef/os/bsd.h14
-rw-r--r--boost/predef/os/bsd/bsdi.h6
-rw-r--r--boost/predef/os/bsd/dragonfly.h6
-rw-r--r--boost/predef/os/bsd/free.h6
-rw-r--r--boost/predef/os/bsd/net.h6
-rw-r--r--boost/predef/os/bsd/open.h6
-rw-r--r--boost/predef/os/cygwin.h7
-rw-r--r--boost/predef/os/haiku.h7
-rw-r--r--boost/predef/os/hpux.h7
-rw-r--r--boost/predef/os/ios.h6
-rw-r--r--boost/predef/os/irix.h7
-rw-r--r--boost/predef/os/linux.h7
-rw-r--r--boost/predef/os/macos.h7
-rw-r--r--boost/predef/os/os400.h7
-rw-r--r--boost/predef/os/qnxnto.h7
-rw-r--r--boost/predef/os/solaris.h7
-rw-r--r--boost/predef/os/unix.h6
-rw-r--r--boost/predef/os/vms.h7
-rw-r--r--boost/predef/os/windows.h6
-rw-r--r--boost/predef/other.h4
-rw-r--r--boost/predef/other/endian.h9
-rw-r--r--boost/predef/platform.h4
-rw-r--r--boost/predef/platform/mingw.h7
-rw-r--r--boost/predef/platform/windows_desktop.h5
-rw-r--r--boost/predef/platform/windows_phone.h5
-rw-r--r--boost/predef/platform/windows_runtime.h5
-rw-r--r--boost/predef/platform/windows_store.h5
-rw-r--r--boost/predef/version.h4
-rw-r--r--boost/predef/version_number.h3
-rw-r--r--boost/preprocessor/arithmetic/dec.hpp1
-rw-r--r--boost/preprocessor/config/config.hpp7
-rw-r--r--boost/preprocessor/library.hpp1
-rw-r--r--boost/preprocessor/repetition/for.hpp20
-rw-r--r--boost/preprocessor/seq/detail/is_empty.hpp49
-rw-r--r--boost/preprocessor/seq/for_each.hpp67
-rw-r--r--boost/preprocessor/seq/for_each_i.hpp68
-rw-r--r--boost/preprocessor/seq/replace.hpp20
-rw-r--r--boost/preprocessor/seq/rest_n.hpp20
-rw-r--r--boost/preprocessor/seq/size.hpp1
-rw-r--r--boost/program_options/detail/config_file.hpp16
-rw-r--r--boost/program_options/detail/parsers.hpp3
-rw-r--r--boost/program_options/environment_iterator.hpp5
-rw-r--r--boost/program_options/eof_iterator.hpp34
-rw-r--r--boost/program_options/option.hpp2
-rw-r--r--boost/program_options/options_description.hpp9
-rw-r--r--boost/program_options/parsers.hpp74
-rw-r--r--boost/program_options/value_semantic.hpp28
-rw-r--r--boost/program_options/variables_map.hpp40
-rw-r--r--boost/property_tree/detail/json_parser/narrow_encoding.hpp159
-rw-r--r--boost/property_tree/detail/json_parser/parser.hpp524
-rw-r--r--boost/property_tree/detail/json_parser/read.hpp55
-rw-r--r--boost/property_tree/detail/json_parser/standard_callbacks.hpp152
-rw-r--r--boost/property_tree/detail/json_parser/wide_encoding.hpp171
-rw-r--r--boost/property_tree/detail/json_parser_read.hpp332
-rw-r--r--boost/property_tree/detail/rapidxml.hpp2
-rw-r--r--boost/property_tree/json_parser.hpp9
-rw-r--r--boost/property_tree/ptree_serialization.hpp51
-rw-r--r--boost/python.hpp3
-rw-r--r--boost/python/args.hpp26
-rw-r--r--boost/python/back_reference.hpp31
-rw-r--r--boost/python/bases.hpp18
-rw-r--r--boost/python/class.hpp45
-rw-r--r--[-rwxr-xr-x]boost/python/converter/arg_from_python.hpp4
-rw-r--r--[-rwxr-xr-x]boost/python/converter/arg_to_python_base.hpp8
-rw-r--r--[-rwxr-xr-x]boost/python/converter/object_manager.hpp74
-rw-r--r--boost/python/converter/registered.hpp3
-rw-r--r--boost/python/converter/registered_pointee.hpp32
-rw-r--r--boost/python/copy_const_reference.hpp2
-rw-r--r--boost/python/copy_non_const_reference.hpp2
-rw-r--r--boost/python/data_members.hpp4
-rw-r--r--boost/python/default_call_policies.hpp2
-rw-r--r--[-rwxr-xr-x]boost/python/detail/borrowed_ptr.hpp30
-rw-r--r--boost/python/detail/config.hpp3
-rw-r--r--boost/python/detail/construct.hpp8
-rw-r--r--boost/python/detail/cv_category.hpp2
-rw-r--r--boost/python/detail/destroy.hpp49
-rw-r--r--[-rwxr-xr-x]boost/python/detail/enable_if.hpp35
-rw-r--r--[-rwxr-xr-x]boost/python/detail/force_instantiate.hpp14
-rw-r--r--boost/python/detail/if_else.hpp39
-rw-r--r--boost/python/detail/msvc_typeinfo.hpp19
-rw-r--r--boost/python/detail/referent_storage.hpp10
-rw-r--r--boost/python/detail/result.hpp4
-rw-r--r--boost/python/detail/string_literal.hpp38
-rw-r--r--boost/python/detail/type_list.hpp4
-rw-r--r--boost/python/detail/type_list_impl_no_pts.hpp107
-rw-r--r--boost/python/detail/value_is_xxx.hpp30
-rw-r--r--boost/python/extract.hpp3
-rw-r--r--[-rwxr-xr-x]boost/python/handle.hpp27
-rw-r--r--boost/python/init.hpp22
-rw-r--r--boost/python/make_constructor.hpp9
-rw-r--r--boost/python/manage_new_object.hpp2
-rw-r--r--boost/python/object/class_metadata.hpp4
-rw-r--r--boost/python/object/forward.hpp101
-rw-r--r--boost/python/object/iterator.hpp28
-rw-r--r--boost/python/object/pointer_holder.hpp6
-rw-r--r--boost/python/object/value_holder.hpp6
-rw-r--r--boost/python/object_core.hpp113
-rw-r--r--[-rwxr-xr-x]boost/python/object_items.hpp3
-rw-r--r--boost/python/object_slices.hpp4
-rw-r--r--boost/python/opaque_pointer_converter.hpp13
-rw-r--r--[-rwxr-xr-x]boost/python/other.hpp62
-rw-r--r--[-rwxr-xr-x]boost/python/proxy.hpp4
-rw-r--r--boost/python/ptr.hpp63
-rw-r--r--[-rwxr-xr-x]boost/python/pure_virtual.hpp2
-rw-r--r--boost/python/reference_existing_object.hpp2
-rw-r--r--boost/python/register_ptr_to_python.hpp2
-rw-r--r--[-rwxr-xr-x]boost/python/return_arg.hpp2
-rw-r--r--boost/python/return_internal_reference.hpp2
-rw-r--r--boost/python/suite/indexing/indexing_suite.hpp4
-rw-r--r--boost/python/to_python_converter.hpp5
-rw-r--r--boost/python/to_python_value.hpp5
-rw-r--r--boost/python/type_id.hpp28
-rw-r--r--boost/python/with_custodian_and_ward.hpp4
-rw-r--r--boost/range/adaptor/filtered.hpp43
-rw-r--r--boost/range/adaptor/strided.hpp2
-rw-r--r--boost/range/detail/common.hpp5
-rw-r--r--boost/range/difference_type.hpp22
-rw-r--r--boost/range/iterator.hpp32
-rw-r--r--boost/range/iterator_range_core.hpp4
-rw-r--r--boost/range/size.hpp9
-rw-r--r--boost/range/size_type.hpp33
-rw-r--r--boost/range/sub_range.hpp4
-rw-r--r--boost/serialization/access.hpp8
-rw-r--r--boost/serialization/array.hpp19
-rw-r--r--boost/serialization/base_object.hpp11
-rw-r--r--boost/serialization/binary_object.hpp5
-rw-r--r--boost/serialization/collections_load_imp.hpp153
-rw-r--r--boost/serialization/config.hpp17
-rw-r--r--boost/serialization/deque.hpp22
-rw-r--r--boost/serialization/detail/is_default_constructible.hpp5
-rw-r--r--boost/serialization/detail/shared_count_132.hpp26
-rw-r--r--boost/serialization/detail/shared_ptr_132.hpp9
-rw-r--r--boost/serialization/detail/stack_constructor.hpp6
-rw-r--r--boost/serialization/ephemeral.hpp5
-rw-r--r--boost/serialization/export.hpp13
-rw-r--r--boost/serialization/extended_type_info.hpp16
-rw-r--r--boost/serialization/extended_type_info_no_rtti.hpp10
-rw-r--r--boost/serialization/extended_type_info_typeid.hpp16
-rw-r--r--boost/serialization/factory.hpp1
-rw-r--r--boost/serialization/force_include.hpp6
-rw-r--r--boost/serialization/forward_list.hpp70
-rw-r--r--boost/serialization/level.hpp8
-rw-r--r--boost/serialization/list.hpp20
-rw-r--r--boost/serialization/nvp.hpp5
-rw-r--r--boost/serialization/pfto.hpp78
-rw-r--r--boost/serialization/serialization.hpp31
-rw-r--r--boost/serialization/shared_ptr.hpp8
-rw-r--r--boost/serialization/shared_ptr_132.hpp2
-rw-r--r--boost/serialization/shared_ptr_helper.hpp8
-rw-r--r--boost/serialization/singleton.hpp2
-rw-r--r--boost/serialization/slist.hpp51
-rw-r--r--boost/serialization/smart_cast.hpp88
-rw-r--r--boost/serialization/static_warning.hpp8
-rw-r--r--boost/serialization/strong_typedef.hpp54
-rw-r--r--boost/serialization/type_info_implementation.hpp13
-rw-r--r--boost/serialization/vector.hpp25
-rw-r--r--boost/serialization/void_cast.hpp22
-rw-r--r--boost/signals2/connection.hpp125
-rw-r--r--boost/signals2/deconstruct_ptr.hpp8
-rw-r--r--boost/signals2/detail/auto_buffer.hpp1
-rw-r--r--boost/signals2/detail/lwm_win32_cs.hpp2
-rw-r--r--boost/signals2/detail/signal_template.hpp109
-rw-r--r--boost/signals2/detail/slot_call_iterator.hpp67
-rw-r--r--boost/signals2/detail/variadic_slot_invoker.hpp33
-rw-r--r--boost/signals2/last_value.hpp5
-rw-r--r--boost/signals2/preprocessed_signal.hpp2
-rw-r--r--boost/signals2/signal.hpp1
-rw-r--r--boost/signals2/slot_base.hpp3
-rw-r--r--boost/signals2/variadic_signal.hpp2
-rw-r--r--boost/smart_ptr/detail/shared_count.hpp38
-rw-r--r--boost/smart_ptr/detail/spinlock_gcc_arm.hpp1
-rw-r--r--boost/smart_ptr/shared_ptr.hpp39
-rw-r--r--boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp3
-rw-r--r--boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp11
-rw-r--r--boost/spirit/home/classic/core/non_terminal/impl/static.hpp4
-rw-r--r--boost/spirit/home/classic/core/primitives/primitives.hpp1
-rw-r--r--boost/spirit/home/classic/meta/refactoring.hpp4
-rw-r--r--boost/spirit/home/classic/phoenix/closures.hpp4
-rw-r--r--boost/spirit/home/classic/phoenix/statements.hpp2
-rw-r--r--boost/spirit/home/classic/utility/functor_parser.hpp2
-rw-r--r--boost/spirit/home/classic/utility/impl/chset.ipp6
-rw-r--r--boost/spirit/home/classic/utility/scoped_lock.hpp3
-rw-r--r--boost/spirit/home/karma/detail/output_iterator.hpp12
-rw-r--r--boost/spirit/home/karma/detail/string_generate.hpp34
-rw-r--r--boost/spirit/home/karma/nonterminal/rule.hpp11
-rw-r--r--boost/spirit/home/karma/numeric/detail/real_utils.hpp2
-rw-r--r--boost/spirit/home/lex/argument.hpp10
-rw-r--r--boost/spirit/home/lex/lexer/lexertl/functor_data.hpp2
-rw-r--r--boost/spirit/home/lex/lexer/string_token_def.hpp1
-rw-r--r--boost/spirit/home/qi/nonterminal/rule.hpp10
-rw-r--r--boost/spirit/home/qi/numeric/detail/numeric_utils.hpp35
-rw-r--r--boost/spirit/home/qi/numeric/detail/real_impl.hpp125
-rw-r--r--boost/spirit/home/qi/numeric/numeric_utils.hpp5
-rw-r--r--boost/spirit/home/qi/numeric/real_policies.hpp18
-rw-r--r--boost/spirit/home/support/char_class.hpp1
-rw-r--r--boost/spirit/home/support/detail/lexer/parser/parser.hpp2
-rw-r--r--boost/spirit/home/support/detail/lexer/state_machine.hpp2
-rw-r--r--boost/spirit/home/support/extended_variant.hpp42
-rw-r--r--boost/spirit/home/support/nonterminal/extract_param.hpp39
-rw-r--r--boost/spirit/home/x3.hpp4
-rw-r--r--boost/spirit/home/x3/auxiliary.hpp6
-rw-r--r--boost/spirit/home/x3/auxiliary/any_parser.hpp4
-rw-r--r--boost/spirit/home/x3/auxiliary/attr.hpp12
-rw-r--r--boost/spirit/home/x3/auxiliary/eoi.hpp6
-rw-r--r--boost/spirit/home/x3/auxiliary/eol.hpp6
-rw-r--r--boost/spirit/home/x3/auxiliary/eps.hpp16
-rw-r--r--boost/spirit/home/x3/auxiliary/guard.hpp4
-rw-r--r--boost/spirit/home/x3/binary.hpp (renamed from boost/spirit/home/x3/support/utility/detail/testing.hpp)14
-rw-r--r--boost/spirit/home/x3/binary/binary.hpp175
-rw-r--r--boost/spirit/home/x3/char.hpp5
-rw-r--r--boost/spirit/home/x3/char/any_char.hpp41
-rw-r--r--boost/spirit/home/x3/char/char.hpp105
-rw-r--r--boost/spirit/home/x3/char/char_class.hpp26
-rw-r--r--boost/spirit/home/x3/char/char_class_tags.hpp29
-rw-r--r--boost/spirit/home/x3/char/char_parser.hpp6
-rw-r--r--boost/spirit/home/x3/char/char_set.hpp136
-rw-r--r--boost/spirit/home/x3/char/detail/cast_char.hpp4
-rw-r--r--boost/spirit/home/x3/char/literal_char.hpp10
-rw-r--r--boost/spirit/home/x3/char/negated_char_parser.hpp6
-rw-r--r--boost/spirit/home/x3/char/unicode.hpp6
-rw-r--r--boost/spirit/home/x3/core.hpp4
-rw-r--r--boost/spirit/home/x3/core/action.hpp6
-rw-r--r--boost/spirit/home/x3/core/call.hpp9
-rw-r--r--boost/spirit/home/x3/core/detail/parse_into_container.hpp77
-rw-r--r--boost/spirit/home/x3/core/parse.hpp4
-rw-r--r--boost/spirit/home/x3/core/parser.hpp12
-rw-r--r--boost/spirit/home/x3/core/proxy.hpp4
-rw-r--r--boost/spirit/home/x3/core/skip_over.hpp4
-rw-r--r--boost/spirit/home/x3/directive.hpp14
-rw-r--r--boost/spirit/home/x3/directive/confix.hpp83
-rw-r--r--boost/spirit/home/x3/directive/expect.hpp8
-rw-r--r--boost/spirit/home/x3/directive/lexeme.hpp12
-rw-r--r--boost/spirit/home/x3/directive/matches.hpp51
-rw-r--r--boost/spirit/home/x3/directive/no_case.hpp54
-rw-r--r--boost/spirit/home/x3/directive/no_skip.hpp8
-rw-r--r--boost/spirit/home/x3/directive/omit.hpp8
-rw-r--r--boost/spirit/home/x3/directive/raw.hpp4
-rw-r--r--boost/spirit/home/x3/directive/repeat.hpp157
-rw-r--r--boost/spirit/home/x3/directive/seek.hpp (renamed from boost/spirit/home/x3/extensions/seek.hpp)8
-rw-r--r--boost/spirit/home/x3/directive/skip.hpp16
-rw-r--r--boost/spirit/home/x3/directive/with.hpp6
-rw-r--r--boost/spirit/home/x3/extensions.hpp18
-rw-r--r--boost/spirit/home/x3/nonterminal.hpp4
-rw-r--r--boost/spirit/home/x3/nonterminal/debug_handler_state.hpp4
-rw-r--r--boost/spirit/home/x3/nonterminal/detail/rule.hpp63
-rw-r--r--boost/spirit/home/x3/nonterminal/rule.hpp35
-rw-r--r--boost/spirit/home/x3/nonterminal/simple_trace.hpp4
-rw-r--r--boost/spirit/home/x3/numeric.hpp4
-rw-r--r--boost/spirit/home/x3/numeric/bool.hpp93
-rw-r--r--boost/spirit/home/x3/numeric/bool_policies.hpp16
-rw-r--r--boost/spirit/home/x3/numeric/int.hpp4
-rw-r--r--boost/spirit/home/x3/numeric/real_policies.hpp4
-rw-r--r--boost/spirit/home/x3/numeric/uint.hpp4
-rw-r--r--boost/spirit/home/x3/operator.hpp4
-rw-r--r--boost/spirit/home/x3/operator/alternative.hpp15
-rw-r--r--boost/spirit/home/x3/operator/and_predicate.hpp6
-rw-r--r--boost/spirit/home/x3/operator/detail/alternative.hpp35
-rw-r--r--boost/spirit/home/x3/operator/detail/sequence.hpp62
-rw-r--r--boost/spirit/home/x3/operator/difference.hpp8
-rw-r--r--boost/spirit/home/x3/operator/kleene.hpp6
-rw-r--r--boost/spirit/home/x3/operator/list.hpp6
-rw-r--r--boost/spirit/home/x3/operator/not_predicate.hpp6
-rw-r--r--boost/spirit/home/x3/operator/optional.hpp6
-rw-r--r--boost/spirit/home/x3/operator/plus.hpp6
-rw-r--r--boost/spirit/home/x3/operator/sequence.hpp15
-rw-r--r--boost/spirit/home/x3/string.hpp4
-rw-r--r--boost/spirit/home/x3/string/detail/no_case_string_parse.hpp60
-rw-r--r--boost/spirit/home/x3/string/detail/string_parse.hpp16
-rw-r--r--boost/spirit/home/x3/string/detail/tst.hpp20
-rw-r--r--boost/spirit/home/x3/string/literal_string.hpp162
-rw-r--r--boost/spirit/home/x3/string/symbols.hpp146
-rw-r--r--boost/spirit/home/x3/string/tst.hpp16
-rw-r--r--boost/spirit/home/x3/string/tst_map.hpp12
-rw-r--r--boost/spirit/home/x3/support/ast/variant.hpp29
-rw-r--r--boost/spirit/home/x3/support/context.hpp46
-rw-r--r--boost/spirit/home/x3/support/no_case.hpp102
-rw-r--r--boost/spirit/home/x3/support/numeric_utils/detail/extract_int.hpp4
-rw-r--r--boost/spirit/home/x3/support/numeric_utils/extract_int.hpp4
-rw-r--r--boost/spirit/home/x3/support/numeric_utils/extract_real.hpp4
-rw-r--r--boost/spirit/home/x3/support/numeric_utils/pow10.hpp4
-rw-r--r--boost/spirit/home/x3/support/numeric_utils/sign.hpp4
-rw-r--r--boost/spirit/home/x3/support/subcontext.hpp10
-rw-r--r--boost/spirit/home/x3/support/traits/attribute_category.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/attribute_of.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/attribute_type.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/container_traits.hpp34
-rw-r--r--boost/spirit/home/x3/support/traits/handles_container.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/has_attribute.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/is_parser.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/is_substitute.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/is_variant.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/make_attribute.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/move_to.hpp8
-rw-r--r--boost/spirit/home/x3/support/traits/numeric_traits.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/optional_traits.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/print_attribute.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/print_token.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/string_traits.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/transform_attribute.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/tuple_traits.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/value_traits.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/variant_find_substitute.hpp4
-rw-r--r--boost/spirit/home/x3/support/traits/variant_has_substitute.hpp4
-rw-r--r--boost/spirit/home/x3/support/unused.hpp11
-rw-r--r--boost/spirit/home/x3/support/utility/annotate_on_success.hpp51
-rw-r--r--boost/spirit/home/x3/support/utility/error_reporting.hpp110
-rw-r--r--boost/spirit/home/x3/support/utility/integer_sequence.hpp94
-rw-r--r--boost/spirit/home/x3/support/utility/is_callable.hpp16
-rw-r--r--boost/spirit/home/x3/support/utility/sfinae.hpp5
-rw-r--r--boost/spirit/home/x3/support/utility/testing.hpp292
-rw-r--r--boost/spirit/home/x3/support/utility/unrefcv.hpp4
-rw-r--r--boost/spirit/home/x3/support/utility/utf8.hpp7
-rw-r--r--boost/spirit/home/x3/version.hpp19
-rw-r--r--boost/spirit/repository/home/karma/nonterminal/subrule.hpp4
-rw-r--r--boost/spirit/repository/home/qi/directive/kwd.hpp2
-rw-r--r--boost/spirit/repository/home/qi/nonterminal/subrule.hpp4
-rw-r--r--boost/spirit/repository/home/qi/operator/keywords.hpp4
-rw-r--r--boost/test/auto_unit_test.hpp12
-rw-r--r--boost/test/data/config.hpp48
-rw-r--r--boost/test/data/dataset.hpp19
-rw-r--r--boost/test/data/generators.hpp19
-rw-r--r--boost/test/data/monomorphic.hpp26
-rw-r--r--boost/test/data/monomorphic/array.hpp113
-rw-r--r--boost/test/data/monomorphic/collection.hpp125
-rw-r--r--boost/test/data/monomorphic/dataset.hpp174
-rw-r--r--boost/test/data/monomorphic/fwd.hpp314
-rw-r--r--boost/test/data/monomorphic/generate.hpp116
-rw-r--r--boost/test/data/monomorphic/generators.hpp20
-rw-r--r--boost/test/data/monomorphic/generators/keywords.hpp39
-rw-r--r--boost/test/data/monomorphic/generators/random.hpp198
-rw-r--r--boost/test/data/monomorphic/generators/xrange.hpp221
-rw-r--r--boost/test/data/monomorphic/grid.hpp226
-rw-r--r--boost/test/data/monomorphic/join.hpp194
-rw-r--r--boost/test/data/monomorphic/singleton.hpp137
-rw-r--r--boost/test/data/monomorphic/zip.hpp240
-rw-r--r--boost/test/data/size.hpp145
-rw-r--r--boost/test/data/test_case.hpp195
-rw-r--r--boost/test/debug.hpp111
-rw-r--r--boost/test/debug_config.hpp14
-rw-r--r--boost/test/detail/config.hpp39
-rw-r--r--boost/test/detail/enable_warnings.hpp19
-rw-r--r--boost/test/detail/fwd_decl.hpp11
-rw-r--r--boost/test/detail/global_typedef.hpp54
-rw-r--r--boost/test/detail/log_level.hpp11
-rw-r--r--boost/test/detail/pp_variadic.hpp49
-rw-r--r--boost/test/detail/suppress_warnings.hpp19
-rw-r--r--boost/test/detail/throw_exception.hpp69
-rw-r--r--boost/test/detail/unit_test_parameters.hpp69
-rw-r--r--boost/test/detail/workaround.hpp19
-rw-r--r--boost/test/exception_safety.hpp187
-rw-r--r--boost/test/execution_monitor.hpp523
-rw-r--r--boost/test/floating_point_comparison.hpp284
-rw-r--r--boost/test/framework.hpp236
-rw-r--r--boost/test/impl/compiler_log_formatter.ipp119
-rw-r--r--boost/test/impl/cpp_main.ipp41
-rw-r--r--boost/test/impl/debug.ipp73
-rw-r--r--boost/test/impl/decorator.ipp202
-rw-r--r--boost/test/impl/exception_safety.ipp537
-rw-r--r--boost/test/impl/execution_monitor.ipp635
-rw-r--r--boost/test/impl/framework.ipp1076
-rw-r--r--boost/test/impl/interaction_based.ipp90
-rw-r--r--boost/test/impl/logged_expectations.ipp246
-rw-r--r--boost/test/impl/plain_report_formatter.ipp103
-rw-r--r--boost/test/impl/progress_monitor.ipp89
-rw-r--r--boost/test/impl/results_collector.ipp126
-rw-r--r--boost/test/impl/results_reporter.ipp22
-rw-r--r--boost/test/impl/test_main.ipp21
-rw-r--r--boost/test/impl/test_tools.ipp431
-rw-r--r--boost/test/impl/test_tree.ipp459
-rw-r--r--boost/test/impl/unit_test_log.ipp89
-rw-r--r--boost/test/impl/unit_test_main.ipp288
-rw-r--r--boost/test/impl/unit_test_monitor.ipp42
-rw-r--r--boost/test/impl/unit_test_parameters.ipp379
-rw-r--r--boost/test/impl/unit_test_suite.ipp346
-rw-r--r--boost/test/impl/xml_log_formatter.ipp82
-rw-r--r--boost/test/impl/xml_report_formatter.ipp29
-rw-r--r--boost/test/included/execution_monitor.hpp21
-rw-r--r--boost/test/included/prg_exec_monitor.hpp4
-rw-r--r--boost/test/included/test_exec_monitor.hpp13
-rw-r--r--boost/test/included/unit_test.hpp17
-rw-r--r--boost/test/included/unit_test_framework.hpp12
-rw-r--r--boost/test/interaction_based.hpp262
-rw-r--r--boost/test/logged_expectations.hpp74
-rw-r--r--boost/test/minimal.hpp39
-rw-r--r--boost/test/mock_object.hpp328
-rw-r--r--boost/test/output/compiler_log_formatter.hpp19
-rw-r--r--boost/test/output/plain_report_formatter.hpp10
-rw-r--r--boost/test/output/xml_log_formatter.hpp22
-rw-r--r--boost/test/output/xml_report_formatter.hpp12
-rw-r--r--boost/test/output_test_stream.hpp76
-rw-r--r--boost/test/parameterized_test.hpp85
-rw-r--r--boost/test/predicate_result.hpp86
-rw-r--r--boost/test/prg_exec_monitor.hpp35
-rw-r--r--boost/test/progress_monitor.hpp42
-rw-r--r--boost/test/results_collector.hpp80
-rw-r--r--boost/test/results_reporter.hpp72
-rw-r--r--boost/test/test_case_template.hpp12
-rw-r--r--boost/test/test_exec_monitor.hpp33
-rw-r--r--boost/test/test_tools.hpp736
-rw-r--r--boost/test/tools/assertion.hpp407
-rw-r--r--boost/test/tools/assertion_result.hpp90
-rw-r--r--boost/test/tools/collection_comparison_op.hpp375
-rw-r--r--boost/test/tools/context.hpp65
-rw-r--r--boost/test/tools/cstring_comparison_op.hpp91
-rw-r--r--boost/test/tools/detail/bitwise_manip.hpp123
-rw-r--r--boost/test/tools/detail/expression_holder.hpp70
-rw-r--r--boost/test/tools/detail/fwd.hpp121
-rw-r--r--boost/test/tools/detail/indirections.hpp94
-rw-r--r--boost/test/tools/detail/it_pair.hpp74
-rw-r--r--boost/test/tools/detail/lexicographic_manip.hpp69
-rw-r--r--boost/test/tools/detail/per_element_manip.hpp69
-rw-r--r--boost/test/tools/detail/print_helper.hpp199
-rw-r--r--boost/test/tools/detail/tolerance_manip.hpp130
-rw-r--r--boost/test/tools/floating_point_comparison.hpp315
-rw-r--r--boost/test/tools/fpc_op.hpp224
-rw-r--r--boost/test/tools/fpc_tolerance.hpp103
-rw-r--r--boost/test/tools/interface.hpp376
-rw-r--r--boost/test/tools/old/impl.hpp358
-rw-r--r--boost/test/tools/old/interface.hpp278
-rw-r--r--boost/test/tools/output_test_stream.hpp96
-rw-r--r--boost/test/tree/auto_registration.hpp53
-rw-r--r--boost/test/tree/decorator.hpp277
-rw-r--r--boost/test/tree/fixture.hpp116
-rw-r--r--boost/test/tree/global_fixture.hpp68
-rw-r--r--boost/test/tree/observer.hpp (renamed from boost/test/test_observer.hpp)33
-rw-r--r--boost/test/tree/test_case_counter.hpp54
-rw-r--r--boost/test/tree/test_case_template.hpp144
-rw-r--r--boost/test/tree/test_unit.hpp275
-rw-r--r--boost/test/tree/traverse.hpp58
-rw-r--r--boost/test/tree/visitor.hpp52
-rw-r--r--boost/test/unit_test.hpp20
-rw-r--r--boost/test/unit_test_log.hpp47
-rw-r--r--boost/test/unit_test_log_formatter.hpp213
-rw-r--r--boost/test/unit_test_monitor.hpp37
-rw-r--r--boost/test/unit_test_parameters.hpp92
-rw-r--r--boost/test/unit_test_suite.hpp230
-rw-r--r--boost/test/unit_test_suite_impl.hpp434
-rw-r--r--boost/test/utils/algorithm.hpp61
-rw-r--r--boost/test/utils/assign_op.hpp12
-rw-r--r--boost/test/utils/basic_cstring/basic_cstring.hpp149
-rw-r--r--boost/test/utils/basic_cstring/basic_cstring_fwd.hpp12
-rw-r--r--boost/test/utils/basic_cstring/bcs_char_traits.hpp18
-rw-r--r--boost/test/utils/basic_cstring/compare.hpp50
-rw-r--r--boost/test/utils/basic_cstring/io.hpp8
-rw-r--r--boost/test/utils/callback.hpp310
-rw-r--r--boost/test/utils/class_properties.hpp38
-rw-r--r--boost/test/utils/custom_manip.hpp14
-rw-r--r--boost/test/utils/fixed_mapping.hpp14
-rw-r--r--boost/test/utils/foreach.hpp61
-rw-r--r--boost/test/utils/is_cstring.hpp58
-rw-r--r--boost/test/utils/is_forward_iterable.hpp152
-rw-r--r--boost/test/utils/iterator/ifstream_line_iterator.hpp13
-rw-r--r--boost/test/utils/iterator/input_iterator_facade.hpp19
-rw-r--r--boost/test/utils/iterator/istream_line_iterator.hpp14
-rw-r--r--boost/test/utils/iterator/token_iterator.hpp28
-rw-r--r--boost/test/utils/lazy_ostream.hpp74
-rw-r--r--boost/test/utils/named_params.hpp101
-rw-r--r--boost/test/utils/nullstream.hpp15
-rw-r--r--boost/test/utils/rtti.hpp15
-rw-r--r--boost/test/utils/runtime/argument.hpp14
-rw-r--r--boost/test/utils/runtime/cla/argument_factory.hpp62
-rw-r--r--boost/test/utils/runtime/cla/argv_traverser.cpp8
-rw-r--r--boost/test/utils/runtime/cla/argv_traverser.hpp24
-rw-r--r--boost/test/utils/runtime/cla/argv_traverser.ipp61
-rw-r--r--boost/test/utils/runtime/cla/basic_parameter.hpp20
-rw-r--r--boost/test/utils/runtime/cla/char_parameter.cpp8
-rw-r--r--boost/test/utils/runtime/cla/char_parameter.hpp28
-rw-r--r--boost/test/utils/runtime/cla/char_parameter.ipp24
-rw-r--r--boost/test/utils/runtime/cla/detail/argument_value_usage.hpp29
-rw-r--r--boost/test/utils/runtime/cla/dual_name_parameter.cpp8
-rw-r--r--boost/test/utils/runtime/cla/dual_name_parameter.hpp26
-rw-r--r--boost/test/utils/runtime/cla/dual_name_parameter.ipp32
-rw-r--r--boost/test/utils/runtime/cla/fwd.hpp16
-rw-r--r--boost/test/utils/runtime/cla/id_policy.cpp8
-rw-r--r--boost/test/utils/runtime/cla/id_policy.hpp30
-rw-r--r--boost/test/utils/runtime/cla/id_policy.ipp34
-rw-r--r--boost/test/utils/runtime/cla/iface/argument_factory.hpp16
-rw-r--r--boost/test/utils/runtime/cla/iface/id_policy.hpp12
-rw-r--r--boost/test/utils/runtime/cla/modifier.hpp16
-rw-r--r--boost/test/utils/runtime/cla/named_parameter.cpp8
-rw-r--r--boost/test/utils/runtime/cla/named_parameter.hpp28
-rw-r--r--boost/test/utils/runtime/cla/named_parameter.ipp40
-rw-r--r--boost/test/utils/runtime/cla/parameter.hpp29
-rw-r--r--boost/test/utils/runtime/cla/parser.cpp10
-rw-r--r--boost/test/utils/runtime/cla/parser.hpp29
-rw-r--r--boost/test/utils/runtime/cla/parser.ipp109
-rw-r--r--boost/test/utils/runtime/cla/positional_parameter.hpp26
-rw-r--r--boost/test/utils/runtime/cla/typed_parameter.hpp24
-rw-r--r--boost/test/utils/runtime/cla/validation.cpp8
-rw-r--r--boost/test/utils/runtime/cla/validation.hpp28
-rw-r--r--boost/test/utils/runtime/cla/validation.ipp40
-rw-r--r--boost/test/utils/runtime/cla/value_generator.hpp16
-rw-r--r--boost/test/utils/runtime/cla/value_handler.hpp16
-rw-r--r--boost/test/utils/runtime/config.hpp66
-rw-r--r--boost/test/utils/runtime/configuration.hpp14
-rw-r--r--boost/test/utils/runtime/env/environment.cpp10
-rw-r--r--boost/test/utils/runtime/env/environment.hpp31
-rw-r--r--boost/test/utils/runtime/env/environment.ipp52
-rw-r--r--boost/test/utils/runtime/env/fwd.hpp21
-rw-r--r--boost/test/utils/runtime/env/modifier.hpp12
-rw-r--r--boost/test/utils/runtime/env/variable.hpp22
-rw-r--r--boost/test/utils/runtime/file/config_file.cpp22
-rw-r--r--boost/test/utils/runtime/file/config_file.hpp22
-rw-r--r--boost/test/utils/runtime/file/config_file_iterator.cpp152
-rw-r--r--boost/test/utils/runtime/file/config_file_iterator.hpp22
-rw-r--r--boost/test/utils/runtime/fwd.hpp14
-rw-r--r--boost/test/utils/runtime/interpret_argument_value.hpp42
-rw-r--r--boost/test/utils/runtime/parameter.hpp14
-rw-r--r--boost/test/utils/runtime/trace.hpp16
-rw-r--r--boost/test/utils/runtime/validation.hpp37
-rw-r--r--boost/test/utils/setcolor.hpp117
-rw-r--r--boost/test/utils/trivial_singleton.hpp33
-rw-r--r--boost/test/utils/wrap_stringstream.hpp16
-rw-r--r--boost/test/utils/xml_printer.hpp34
-rw-r--r--boost/thread/future.hpp164
-rw-r--r--boost/thread/win32/thread_primitives.hpp22
-rw-r--r--boost/type_index/detail/compile_time_type_info.hpp12
-rw-r--r--boost/type_index/stl_type_index.hpp1
-rw-r--r--boost/type_index/type_index_facade.hpp12
-rw-r--r--boost/type_traits/is_virtual_base_of.hpp15
-rw-r--r--boost/units/scaled_base_unit.hpp20
-rw-r--r--boost/uuid/detail/uuid_x86.hpp18
-rw-r--r--boost/uuid/seed_rng.hpp128
-rw-r--r--boost/variant/detail/element_index.hpp4
-rw-r--r--boost/variant/detail/has_result_type.hpp5
-rw-r--r--boost/variant/polymorphic_get.hpp2
-rw-r--r--boost/variant/recursive_wrapper_fwd.hpp18
-rw-r--r--boost/variant/static_visitor.hpp17
-rw-r--r--boost/version.hpp4
-rw-r--r--boost/wave/cpp_exceptions.hpp2
1459 files changed, 52505 insertions, 29848 deletions
diff --git a/boost/align.hpp b/boost/align.hpp
index d5ae6d3..0b3221d 100644
--- a/boost/align.hpp
+++ b/boost/align.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014-2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_HPP
#define BOOST_ALIGN_HPP
@@ -15,6 +15,7 @@
#include <boost/align/aligned_allocator_adaptor.hpp>
#include <boost/align/aligned_delete.hpp>
#include <boost/align/alignment_of.hpp>
+#include <boost/align/assume_aligned.hpp>
#include <boost/align/is_aligned.hpp>
#endif
diff --git a/boost/align/align.hpp b/boost/align/align.hpp
index 1600a24..b95d673 100644
--- a/boost/align/align.hpp
+++ b/boost/align/align.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGN_HPP
#define BOOST_ALIGN_ALIGN_HPP
diff --git a/boost/align/aligned_alloc.hpp b/boost/align/aligned_alloc.hpp
index 1e4f2b7..0e3ba60 100644
--- a/boost/align/aligned_alloc.hpp
+++ b/boost/align/aligned_alloc.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_ALLOC_HPP
#define BOOST_ALIGN_ALIGNED_ALLOC_HPP
diff --git a/boost/align/aligned_allocator.hpp b/boost/align/aligned_allocator.hpp
index 114e37b..a31dfe5 100644
--- a/boost/align/aligned_allocator.hpp
+++ b/boost/align/aligned_allocator.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_ALLOCATOR_HPP
#define BOOST_ALIGN_ALIGNED_ALLOCATOR_HPP
@@ -26,143 +26,141 @@
#endif
namespace boost {
- namespace alignment {
- template<class T, std::size_t Alignment>
- class aligned_allocator {
- BOOST_STATIC_ASSERT(detail::
- is_alignment_constant<Alignment>::value);
-
- public:
- typedef T value_type;
- typedef T* pointer;
- typedef const T* const_pointer;
- typedef void* void_pointer;
- typedef const void* const_void_pointer;
- typedef std::size_t size_type;
- typedef std::ptrdiff_t difference_type;
- typedef T& reference;
- typedef const T& const_reference;
-
- private:
- typedef detail::max_align<Alignment,
- alignment_of<value_type>::value> MaxAlign;
-
- public:
- template<class U>
- struct rebind {
- typedef aligned_allocator<U, Alignment> other;
- };
+namespace alignment {
+
+template<class T, std::size_t Alignment>
+class aligned_allocator {
+ BOOST_STATIC_ASSERT(detail::
+ is_alignment_constant<Alignment>::value);
+
+public:
+ typedef T value_type;
+ typedef T* pointer;
+ typedef const T* const_pointer;
+ typedef void* void_pointer;
+ typedef const void* const_void_pointer;
+ typedef std::size_t size_type;
+ typedef std::ptrdiff_t difference_type;
+ typedef T& reference;
+ typedef const T& const_reference;
+
+private:
+ enum {
+ min_align = detail::max_align<Alignment,
+ alignment_of<value_type>::value>::value
+ };
+
+public:
+ template<class U>
+ struct rebind {
+ typedef aligned_allocator<U, Alignment> other;
+ };
#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS)
- aligned_allocator()
- BOOST_NOEXCEPT = default;
+ aligned_allocator() BOOST_NOEXCEPT = default;
#else
- aligned_allocator()
- BOOST_NOEXCEPT {
- }
+ aligned_allocator() BOOST_NOEXCEPT {
+ }
#endif
- template<class U>
- aligned_allocator(const aligned_allocator<U,
- Alignment>&) BOOST_NOEXCEPT {
- }
-
- pointer address(reference value) const
- BOOST_NOEXCEPT {
- return detail::addressof(value);
- }
-
- const_pointer address(const_reference value) const
- BOOST_NOEXCEPT {
- return detail::addressof(value);
- }
-
- pointer allocate(size_type size,
- const_void_pointer = 0) {
- void* p = aligned_alloc(MaxAlign::value,
- sizeof(T) * size);
- if (!p && size > 0) {
- boost::throw_exception(std::bad_alloc());
- }
- return static_cast<T*>(p);
- }
-
- void deallocate(pointer ptr, size_type) {
- alignment::aligned_free(ptr);
- }
-
- BOOST_CONSTEXPR size_type max_size() const
- BOOST_NOEXCEPT {
- return detail::max_count_of<T>::value;
- }
+ template<class U>
+ aligned_allocator(const aligned_allocator<U, Alignment>&)
+ BOOST_NOEXCEPT {
+ }
+
+ pointer address(reference value) const BOOST_NOEXCEPT {
+ return detail::addressof(value);
+ }
+
+ const_pointer address(const_reference value) const
+ BOOST_NOEXCEPT {
+ return detail::addressof(value);
+ }
+
+ pointer allocate(size_type size, const_void_pointer = 0) {
+ void* p = aligned_alloc(min_align, sizeof(T) * size);
+ if (!p && size > 0) {
+ boost::throw_exception(std::bad_alloc());
+ }
+ return static_cast<T*>(p);
+ }
+
+ void deallocate(pointer ptr, size_type) {
+ alignment::aligned_free(ptr);
+ }
+
+ BOOST_CONSTEXPR size_type max_size() const BOOST_NOEXCEPT {
+ return detail::max_count_of<T>::value;
+ }
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
- template<class U, class... Args>
- void construct(U* ptr, Args&&... args) {
- void* p = ptr;
- ::new(p) U(std::forward<Args>(args)...);
- }
+ template<class U, class... Args>
+ void construct(U* ptr, Args&&... args) {
+ void* p = ptr;
+ ::new(p) U(std::forward<Args>(args)...);
+ }
#else
- template<class U, class V>
- void construct(U* ptr, V&& value) {
- void* p = ptr;
- ::new(p) U(std::forward<V>(value));
- }
+ template<class U, class V>
+ void construct(U* ptr, V&& value) {
+ void* p = ptr;
+ ::new(p) U(std::forward<V>(value));
+ }
#endif
#else
- template<class U, class V>
- void construct(U* ptr, const V& value) {
- void* p = ptr;
- ::new(p) U(value);
- }
+ template<class U, class V>
+ void construct(U* ptr, const V& value) {
+ void* p = ptr;
+ ::new(p) U(value);
+ }
#endif
- template<class U>
- void construct(U* ptr) {
- void* p = ptr;
- ::new(p) U();
- }
-
- template<class U>
- void destroy(U* ptr) {
- (void)ptr;
- ptr->~U();
- }
- };
-
- template<std::size_t Alignment>
- class aligned_allocator<void, Alignment> {
- BOOST_STATIC_ASSERT(detail::
- is_alignment_constant<Alignment>::value);
-
- public:
- typedef void value_type;
- typedef void* pointer;
- typedef const void* const_pointer;
-
- template<class U>
- struct rebind {
- typedef aligned_allocator<U, Alignment> other;
- };
- };
-
- template<class T1, class T2, std::size_t Alignment>
- inline bool operator==(const aligned_allocator<T1,
- Alignment>&, const aligned_allocator<T2,
- Alignment>&) BOOST_NOEXCEPT
- {
- return true;
- }
+ template<class U>
+ void construct(U* ptr) {
+ void* p = ptr;
+ ::new(p) U();
+ }
- template<class T1, class T2, std::size_t Alignment>
- inline bool operator!=(const aligned_allocator<T1,
- Alignment>&, const aligned_allocator<T2,
- Alignment>&) BOOST_NOEXCEPT
- {
- return false;
- }
+ template<class U>
+ void destroy(U* ptr) {
+ (void)ptr;
+ ptr->~U();
}
+};
+
+template<std::size_t Alignment>
+class aligned_allocator<void, Alignment> {
+ BOOST_STATIC_ASSERT(detail::
+ is_alignment_constant<Alignment>::value);
+
+public:
+ typedef void value_type;
+ typedef void* pointer;
+ typedef const void* const_pointer;
+
+ template<class U>
+ struct rebind {
+ typedef aligned_allocator<U, Alignment> other;
+ };
+};
+
+template<class T1, class T2, std::size_t Alignment>
+inline bool operator==(const aligned_allocator<T1,
+ Alignment>&, const aligned_allocator<T2,
+ Alignment>&) BOOST_NOEXCEPT
+{
+ return true;
}
+template<class T1, class T2, std::size_t Alignment>
+inline bool operator!=(const aligned_allocator<T1,
+ Alignment>&, const aligned_allocator<T2,
+ Alignment>&) BOOST_NOEXCEPT
+{
+ return false;
+}
+
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/aligned_allocator_adaptor.hpp b/boost/align/aligned_allocator_adaptor.hpp
index f6e0bef..ac77b4a 100644
--- a/boost/align/aligned_allocator_adaptor.hpp
+++ b/boost/align/aligned_allocator_adaptor.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014-2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_ALLOCATOR_ADAPTOR_HPP
#define BOOST_ALIGN_ALIGNED_ALLOCATOR_ADAPTOR_HPP
@@ -28,160 +28,163 @@
#endif
namespace boost {
- namespace alignment {
- template<class Allocator, std::size_t Alignment>
- class aligned_allocator_adaptor
- : public Allocator {
- BOOST_STATIC_ASSERT(detail::
- is_alignment_constant<Alignment>::value);
+namespace alignment {
+
+template<class Allocator, std::size_t Alignment>
+class aligned_allocator_adaptor
+ : public Allocator {
+ BOOST_STATIC_ASSERT(detail::
+ is_alignment_constant<Alignment>::value);
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
- typedef std::allocator_traits<Allocator> Traits;
+ typedef std::allocator_traits<Allocator> traits;
- typedef typename Traits::
- template rebind_alloc<char> CharAlloc;
+ typedef typename traits::
+ template rebind_alloc<char> char_alloc;
- typedef typename Traits::
- template rebind_traits<char> CharTraits;
+ typedef typename traits::
+ template rebind_traits<char> char_traits;
- typedef typename CharTraits::pointer CharPtr;
+ typedef typename char_traits::pointer char_ptr;
#else
- typedef typename Allocator::
- template rebind<char>::other CharAlloc;
+ typedef typename Allocator::
+ template rebind<char>::other char_alloc;
- typedef typename CharAlloc::pointer CharPtr;
+ typedef typename char_alloc::pointer char_ptr;
#endif
- public:
+ enum {
+ ptr_align = alignment_of<char_ptr>::value
+ };
+
+public:
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
- typedef typename Traits::value_type value_type;
- typedef typename Traits::size_type size_type;
+ typedef typename traits::value_type value_type;
+ typedef typename traits::size_type size_type;
#else
- typedef typename Allocator::value_type value_type;
- typedef typename Allocator::size_type size_type;
+ typedef typename Allocator::value_type value_type;
+ typedef typename Allocator::size_type size_type;
#endif
- typedef value_type* pointer;
- typedef const value_type* const_pointer;
- typedef void* void_pointer;
- typedef const void* const_void_pointer;
- typedef std::ptrdiff_t difference_type;
-
- private:
- typedef detail::max_align<Alignment,
- detail::max_align<alignment_of<value_type>::value,
- alignment_of<CharPtr>::value>::value> MaxAlign;
-
- public:
- template<class U>
- struct rebind {
+ typedef value_type* pointer;
+ typedef const value_type* const_pointer;
+ typedef void* void_pointer;
+ typedef const void* const_void_pointer;
+ typedef std::ptrdiff_t difference_type;
+
+private:
+ enum {
+ min_align = detail::max_align<Alignment,
+ detail::max_align<alignment_of<value_type>::value,
+ alignment_of<char_ptr>::value>::value>::value
+ };
+
+public:
+ template<class U>
+ struct rebind {
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
- typedef aligned_allocator_adaptor<typename Traits::
- template rebind_alloc<U>, Alignment> other;
+ typedef aligned_allocator_adaptor<typename traits::
+ template rebind_alloc<U>, Alignment> other;
#else
- typedef aligned_allocator_adaptor<typename Allocator::
- template rebind<U>::other, Alignment> other;
+ typedef aligned_allocator_adaptor<typename Allocator::
+ template rebind<U>::other, Alignment> other;
#endif
- };
+ };
#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS)
- aligned_allocator_adaptor() = default;
+ aligned_allocator_adaptor() = default;
#else
- aligned_allocator_adaptor()
- : Allocator() {
- }
+ aligned_allocator_adaptor()
+ : Allocator() {
+ }
#endif
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
- template<class A>
- explicit aligned_allocator_adaptor(A&& alloc)
- BOOST_NOEXCEPT
- : Allocator(std::forward<A>(alloc)) {
- }
+ template<class A>
+ explicit aligned_allocator_adaptor(A&& alloc) BOOST_NOEXCEPT
+ : Allocator(std::forward<A>(alloc)) {
+ }
#else
- template<class A>
- explicit aligned_allocator_adaptor(const A& alloc)
- BOOST_NOEXCEPT
- : Allocator(alloc) {
- }
+ template<class A>
+ explicit aligned_allocator_adaptor(const A& alloc)
+ BOOST_NOEXCEPT
+ : Allocator(alloc) {
+ }
#endif
- template<class U>
- aligned_allocator_adaptor(const
- aligned_allocator_adaptor<U, Alignment>& other)
- BOOST_NOEXCEPT
- : Allocator(other.base()) {
- }
-
- Allocator& base()
- BOOST_NOEXCEPT {
- return static_cast<Allocator&>(*this);
- }
-
- const Allocator& base() const
- BOOST_NOEXCEPT {
- return static_cast<const Allocator&>(*this);
- }
-
- pointer allocate(size_type size) {
- std::size_t n1 = size * sizeof(value_type);
- std::size_t n2 = n1 + MaxAlign::value - 1;
- CharAlloc a(base());
- CharPtr p1 = a.allocate(sizeof p1 + n2);
- void* p2 = detail::addressof(*p1) + sizeof p1;
- (void)align(MaxAlign::value, n1, p2, n2);
- void* p3 = static_cast<CharPtr*>(p2) - 1;
- ::new(p3) CharPtr(p1);
- return static_cast<pointer>(p2);
- }
-
- pointer allocate(size_type size, const_void_pointer hint) {
- std::size_t n1 = size * sizeof(value_type);
- std::size_t n2 = n1 + MaxAlign::value - 1;
- CharPtr h = CharPtr();
- if (hint) {
- h = *(static_cast<const CharPtr*>(hint) - 1);
- }
- CharAlloc a(base());
+ template<class U>
+ aligned_allocator_adaptor(const aligned_allocator_adaptor<U,
+ Alignment>& other) BOOST_NOEXCEPT
+ : Allocator(other.base()) {
+ }
+
+ Allocator& base() BOOST_NOEXCEPT {
+ return static_cast<Allocator&>(*this);
+ }
+
+ const Allocator& base() const BOOST_NOEXCEPT {
+ return static_cast<const Allocator&>(*this);
+ }
+
+ pointer allocate(size_type size) {
+ std::size_t n1 = size * sizeof(value_type);
+ std::size_t n2 = n1 + min_align - ptr_align;
+ char_alloc a(base());
+ char_ptr p1 = a.allocate(sizeof p1 + n2);
+ void* p2 = detail::addressof(*p1) + sizeof p1;
+ (void)align(min_align, n1, p2, n2);
+ void* p3 = static_cast<char_ptr*>(p2) - 1;
+ ::new(p3) char_ptr(p1);
+ return static_cast<pointer>(p2);
+ }
+
+ pointer allocate(size_type size, const_void_pointer hint) {
+ std::size_t n1 = size * sizeof(value_type);
+ std::size_t n2 = n1 + min_align - ptr_align;
+ char_ptr h = char_ptr();
+ if (hint) {
+ h = *(static_cast<const char_ptr*>(hint) - 1);
+ }
+ char_alloc a(base());
#if !defined(BOOST_NO_CXX11_ALLOCATOR)
- CharPtr p1 = CharTraits::allocate(a, sizeof p1 +
- n2, h);
+ char_ptr p1 = char_traits::allocate(a, sizeof p1 + n2, h);
#else
- CharPtr p1 = a.allocate(sizeof p1 + n2, h);
+ char_ptr p1 = a.allocate(sizeof p1 + n2, h);
#endif
- void* p2 = detail::addressof(*p1) + sizeof p1;
- (void)align(MaxAlign::value, n1, p2, n2);
- void* p3 = static_cast<CharPtr*>(p2) - 1;
- ::new(p3) CharPtr(p1);
- return static_cast<pointer>(p2);
- }
-
- void deallocate(pointer ptr, size_type size) {
- CharPtr* p1 = reinterpret_cast<CharPtr*>(ptr) - 1;
- CharPtr p2 = *p1;
- p1->~CharPtr();
- CharAlloc a(base());
- a.deallocate(p2, size * sizeof(value_type) +
- MaxAlign::value + sizeof p2);
- }
- };
-
- template<class A1, class A2, std::size_t Alignment>
- inline bool operator==(const aligned_allocator_adaptor<A1,
- Alignment>& a, const aligned_allocator_adaptor<A2,
- Alignment>& b) BOOST_NOEXCEPT
- {
- return a.base() == b.base();
- }
+ void* p2 = detail::addressof(*p1) + sizeof p1;
+ (void)align(min_align, n1, p2, n2);
+ void* p3 = static_cast<char_ptr*>(p2) - 1;
+ ::new(p3) char_ptr(p1);
+ return static_cast<pointer>(p2);
+ }
- template<class A1, class A2, std::size_t Alignment>
- inline bool operator!=(const aligned_allocator_adaptor<A1,
- Alignment>& a, const aligned_allocator_adaptor<A2,
- Alignment>& b) BOOST_NOEXCEPT
- {
- return !(a == b);
- }
+ void deallocate(pointer ptr, size_type size) {
+ char_ptr* p1 = reinterpret_cast<char_ptr*>(ptr) - 1;
+ char_ptr p2 = *p1;
+ p1->~char_ptr();
+ char_alloc a(base());
+ a.deallocate(p2, size * sizeof(value_type) +
+ min_align - ptr_align + sizeof p2);
}
+};
+
+template<class A1, class A2, std::size_t Alignment>
+inline bool operator==(const aligned_allocator_adaptor<A1,
+ Alignment>& a, const aligned_allocator_adaptor<A2,
+ Alignment>& b) BOOST_NOEXCEPT
+{
+ return a.base() == b.base();
}
+template<class A1, class A2, std::size_t Alignment>
+inline bool operator!=(const aligned_allocator_adaptor<A1,
+ Alignment>& a, const aligned_allocator_adaptor<A2,
+ Alignment>& b) BOOST_NOEXCEPT
+{
+ return !(a == b);
+}
+
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/aligned_allocator_adaptor_forward.hpp b/boost/align/aligned_allocator_adaptor_forward.hpp
index 2bd8dee..327d7ed 100644
--- a/boost/align/aligned_allocator_adaptor_forward.hpp
+++ b/boost/align/aligned_allocator_adaptor_forward.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_ALLOCATOR_ADAPTOR_FORWARD_HPP
#define BOOST_ALIGN_ALIGNED_ALLOCATOR_ADAPTOR_FORWARD_HPP
@@ -12,10 +12,12 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- template<class Allocator, std::size_t Alignment = 1>
- class aligned_allocator_adaptor;
- }
-}
+namespace alignment {
+
+template<class Allocator, std::size_t Alignment = 1>
+class aligned_allocator_adaptor;
+
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/aligned_allocator_forward.hpp b/boost/align/aligned_allocator_forward.hpp
index 48120e2..9a3f363 100644
--- a/boost/align/aligned_allocator_forward.hpp
+++ b/boost/align/aligned_allocator_forward.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_ALLOCATOR_FORWARD_HPP
#define BOOST_ALIGN_ALIGNED_ALLOCATOR_FORWARD_HPP
@@ -12,10 +12,12 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- template<class T, std::size_t Alignment = 1>
- class aligned_allocator;
- }
-}
+namespace alignment {
+
+template<class T, std::size_t Alignment = 1>
+class aligned_allocator;
+
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/aligned_delete.hpp b/boost/align/aligned_delete.hpp
index 479fbb1..6d8caed 100644
--- a/boost/align/aligned_delete.hpp
+++ b/boost/align/aligned_delete.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_DELETE_HPP
#define BOOST_ALIGN_ALIGNED_DELETE_HPP
@@ -14,19 +14,21 @@
#include <boost/align/aligned_delete_forward.hpp>
namespace boost {
- namespace alignment {
- class aligned_delete {
- public:
- template<class T>
- void operator()(T* ptr) const
- BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(ptr->~T())) {
- if (ptr) {
- ptr->~T();
- alignment::aligned_free(ptr);
- }
- }
- };
+namespace alignment {
+
+class aligned_delete {
+public:
+ template<class T>
+ void operator()(T* ptr) const
+ BOOST_NOEXCEPT_IF(BOOST_NOEXCEPT_EXPR(ptr->~T())) {
+ if (ptr) {
+ ptr->~T();
+ alignment::aligned_free(ptr);
+ }
}
-}
+};
+
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/aligned_delete_forward.hpp b/boost/align/aligned_delete_forward.hpp
index 9392025..530e097 100644
--- a/boost/align/aligned_delete_forward.hpp
+++ b/boost/align/aligned_delete_forward.hpp
@@ -1,18 +1,20 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_DELETE_FORWARD_HPP
#define BOOST_ALIGN_ALIGNED_DELETE_FORWARD_HPP
namespace boost {
- namespace alignment {
- class aligned_delete;
- }
-}
+namespace alignment {
+
+class aligned_delete;
+
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/alignment_of.hpp b/boost/align/alignment_of.hpp
index 1862f0f..06d22a0 100644
--- a/boost/align/alignment_of.hpp
+++ b/boost/align/alignment_of.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014-2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNMENT_OF_HPP
#define BOOST_ALIGN_ALIGNMENT_OF_HPP
@@ -13,18 +13,20 @@
#include <boost/align/alignment_of_forward.hpp>
#include <boost/align/detail/remove_traits.hpp>
-#if !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
-#include <boost/align/detail/alignment_of_cxx11.hpp>
-#elif defined(BOOST_MSVC)
+#if defined(BOOST_MSVC)
#include <boost/align/detail/alignment_of_msvc.hpp>
-#elif defined(BOOST_CLANG)
-#include <boost/align/detail/alignment_of_clang.hpp>
+#elif defined(__GNUC__) && defined(__unix__) && !defined(__LP64__)
+#include <boost/align/detail/alignment_of.hpp>
+#elif defined(BOOST_CLANG) && !defined(__x86_64__)
+#include <boost/align/detail/alignment_of.hpp>
+#elif !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
+#include <boost/align/detail/alignment_of_cxx11.hpp>
#elif defined(__ghs__) && (__GHS_VERSION_NUMBER >= 600)
#include <boost/align/detail/alignment_of_gcc.hpp>
#elif defined(__CODEGEARC__)
#include <boost/align/detail/alignment_of_codegear.hpp>
-#elif defined(__GNUC__) && defined(__unix__) && !defined(__LP64__)
-#include <boost/align/detail/alignment_of.hpp>
+#elif defined(BOOST_CLANG)
+#include <boost/align/detail/alignment_of_clang.hpp>
#elif __GNUC__ > 4
#include <boost/align/detail/alignment_of_gcc.hpp>
#elif (__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)
@@ -34,16 +36,18 @@
#endif
namespace boost {
- namespace alignment {
- template<class T>
- struct alignment_of
- : detail::alignment_of<typename
- detail::remove_cv<typename
- detail::remove_all_extents<typename
- detail::remove_reference<T>::
- type>::type>::type>::type {
- };
- }
-}
+namespace alignment {
+
+template<class T>
+struct alignment_of
+ : detail::alignment_of<typename
+ detail::remove_cv<typename
+ detail::remove_all_extents<typename
+ detail::remove_reference<T>::
+ type>::type>::type>::type {
+};
+
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/alignment_of_forward.hpp b/boost/align/alignment_of_forward.hpp
index 47785e2..778a9f7 100644
--- a/boost/align/alignment_of_forward.hpp
+++ b/boost/align/alignment_of_forward.hpp
@@ -1,19 +1,21 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNMENT_OF_FORWARD_HPP
#define BOOST_ALIGN_ALIGNMENT_OF_FORWARD_HPP
namespace boost {
- namespace alignment {
- template<class T>
- struct alignment_of;
- }
-}
+namespace alignment {
+
+template<class T>
+struct alignment_of;
+
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/assume_aligned.hpp b/boost/align/assume_aligned.hpp
new file mode 100644
index 0000000..8d730e6
--- /dev/null
+++ b/boost/align/assume_aligned.hpp
@@ -0,0 +1,29 @@
+/*
+(c) 2015 NumScale SAS
+(c) 2015 LRI UMR 8623 CNRS/University Paris Sud XI
+
+(c) 2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
+
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
+*/
+#ifndef BOOST_ALIGN_ASSUME_ALIGNED_HPP
+#define BOOST_ALIGN_ASSUME_ALIGNED_HPP
+
+#include <boost/config.hpp>
+
+#if defined(BOOST_MSVC)
+#include <boost/align/detail/assume_aligned_msvc.hpp>
+#elif defined(BOOST_CLANG)
+#include <boost/align/detail/assume_aligned_clang.hpp>
+#elif BOOST_GCC_VERSION >= 40700
+#include <boost/align/detail/assume_aligned_gcc.hpp>
+#elif defined(__INTEL_COMPILER)
+#include <boost/align/detail/assume_aligned_intel.hpp>
+#else
+#include <boost/align/detail/assume_aligned.hpp>
+#endif
+
+#endif
diff --git a/boost/align/detail/address.hpp b/boost/align/detail/address.hpp
index a4f3a6e..63be1a9 100644
--- a/boost/align/detail/address.hpp
+++ b/boost/align/detail/address.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ADDRESS_HPP
#define BOOST_ALIGN_DETAIL_ADDRESS_HPP
@@ -13,15 +13,17 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
+namespace alignment {
+namespace detail {
+
#if defined(BOOST_HAS_INTPTR_T)
- typedef boost::uintptr_t address_t;
+typedef boost::uintptr_t address_t;
#else
- typedef std::size_t address_t;
+typedef std::size_t address_t;
#endif
- }
- }
-}
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/addressof.hpp b/boost/align/detail/addressof.hpp
index d9d6f78..8f0c882 100644
--- a/boost/align/detail/addressof.hpp
+++ b/boost/align/detail/addressof.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ADDRESSOF_HPP
#define BOOST_ALIGN_DETAIL_ADDRESSOF_HPP
@@ -18,15 +18,17 @@
#endif
namespace boost {
- namespace alignment {
- namespace detail {
+namespace alignment {
+namespace detail {
+
#if !defined(BOOST_NO_CXX11_ADDRESSOF)
- using std::addressof;
+using std::addressof;
#else
- using boost::addressof;
+using boost::addressof;
#endif
- }
- }
-}
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/align.hpp b/boost/align/detail/align.hpp
index e3a90df..00be6fd 100644
--- a/boost/align/detail/align.hpp
+++ b/boost/align/detail/align.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGN_HPP
#define BOOST_ALIGN_DETAIL_ALIGN_HPP
@@ -15,24 +15,26 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- inline void* align(std::size_t alignment, std::size_t size,
- void*& ptr, std::size_t& space)
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- std::size_t n = detail::address_t(ptr) & (alignment - 1);
- if (n != 0) {
- n = alignment - n;
- }
- void* p = 0;
- if (n <= space && size <= space - n) {
- p = static_cast<char*>(ptr) + n;
- ptr = p;
- space -= n;
- }
- return p;
- }
+namespace alignment {
+
+inline void* align(std::size_t alignment, std::size_t size,
+ void*& ptr, std::size_t& space)
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ std::size_t n = detail::address_t(ptr) & (alignment - 1);
+ if (n != 0) {
+ n = alignment - n;
+ }
+ void* p = 0;
+ if (n <= space && size <= space - n) {
+ p = static_cast<char*>(ptr) + n;
+ ptr = p;
+ space -= n;
}
+ return p;
}
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/align_cxx11.hpp b/boost/align/detail/align_cxx11.hpp
index 6672a7e..80dc7e3 100644
--- a/boost/align/detail/align_cxx11.hpp
+++ b/boost/align/detail/align_cxx11.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGN_CXX11_HPP
#define BOOST_ALIGN_DETAIL_ALIGN_CXX11_HPP
@@ -12,9 +12,11 @@
#include <memory>
namespace boost {
- namespace alignment {
- using std::align;
- }
-}
+namespace alignment {
+
+using std::align;
+
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/aligned_alloc.hpp b/boost/align/detail/aligned_alloc.hpp
index 147b0de..1852ac1 100644
--- a/boost/align/detail/aligned_alloc.hpp
+++ b/boost/align/detail/aligned_alloc.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014-2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_HPP
#define BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_HPP
@@ -17,34 +17,38 @@
#include <cstdlib>
namespace boost {
- namespace alignment {
- inline void* aligned_alloc(std::size_t alignment,
- std::size_t size) BOOST_NOEXCEPT
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- if (alignment < alignment_of<void*>::value) {
- alignment = alignment_of<void*>::value;
- }
- std::size_t n = size + alignment - 1;
- void* p1 = 0;
- void* p2 = std::malloc(n + sizeof p1);
- if (p2) {
- p1 = static_cast<char*>(p2) + sizeof p1;
- (void)align(alignment, size, p1, n);
- *(static_cast<void**>(p1) - 1) = p2;
- }
- return p1;
- }
+namespace alignment {
- inline void aligned_free(void* ptr)
- BOOST_NOEXCEPT
- {
- if (ptr) {
- void* p = *(static_cast<void**>(ptr) - 1);
- std::free(p);
- }
- }
+inline void* aligned_alloc(std::size_t alignment, std::size_t size)
+ BOOST_NOEXCEPT
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ enum {
+ N = alignment_of<void*>::value
+ };
+ if (alignment < N) {
+ alignment = N;
}
+ std::size_t n = size + alignment - N;
+ void* p1 = 0;
+ void* p2 = std::malloc(n + sizeof p1);
+ if (p2) {
+ p1 = static_cast<char*>(p2) + sizeof p1;
+ (void)align(alignment, size, p1, n);
+ *(static_cast<void**>(p1) - 1) = p2;
+ }
+ return p1;
}
+inline void aligned_free(void* ptr) BOOST_NOEXCEPT
+{
+ if (ptr) {
+ void* p = *(static_cast<void**>(ptr) - 1);
+ std::free(p);
+ }
+}
+
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/aligned_alloc_android.hpp b/boost/align/detail/aligned_alloc_android.hpp
index 2b813be..d97d679 100644
--- a/boost/align/detail/aligned_alloc_android.hpp
+++ b/boost/align/detail/aligned_alloc_android.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_ANDROID_HPP
#define BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_ANDROID_HPP
@@ -16,20 +16,21 @@
#include <malloc.h>
namespace boost {
- namespace alignment {
- inline void* aligned_alloc(std::size_t alignment,
- std::size_t size) BOOST_NOEXCEPT
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- return ::memalign(alignment, size);
- }
+namespace alignment {
- inline void aligned_free(void* ptr)
- BOOST_NOEXCEPT
- {
- ::free(ptr);
- }
- }
+inline void* aligned_alloc(std::size_t alignment, std::size_t size)
+ BOOST_NOEXCEPT
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ return ::memalign(alignment, size);
}
+inline void aligned_free(void* ptr) BOOST_NOEXCEPT
+{
+ ::free(ptr);
+}
+
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/aligned_alloc_macos.hpp b/boost/align/detail/aligned_alloc_macos.hpp
index 346eabf..9b6d235 100644
--- a/boost/align/detail/aligned_alloc_macos.hpp
+++ b/boost/align/detail/aligned_alloc_macos.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_MACOS_HPP
#define BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_MACOS_HPP
@@ -16,30 +16,31 @@
#include <stdlib.h>
namespace boost {
- namespace alignment {
- inline void* aligned_alloc(std::size_t alignment,
- std::size_t size) BOOST_NOEXCEPT
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- if (!size) {
- return 0;
- }
- if (alignment < sizeof(void*)) {
- alignment = sizeof(void*);
- }
- void* p;
- if (::posix_memalign(&p, alignment, size) != 0) {
- p = 0;
- }
- return p;
- }
+namespace alignment {
- inline void aligned_free(void* ptr)
- BOOST_NOEXCEPT
- {
- ::free(ptr);
- }
+inline void* aligned_alloc(std::size_t alignment, std::size_t size)
+ BOOST_NOEXCEPT
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ if (!size) {
+ return 0;
}
+ if (alignment < sizeof(void*)) {
+ alignment = sizeof(void*);
+ }
+ void* p;
+ if (::posix_memalign(&p, alignment, size) != 0) {
+ p = 0;
+ }
+ return p;
}
+inline void aligned_free(void* ptr) BOOST_NOEXCEPT
+{
+ ::free(ptr);
+}
+
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/aligned_alloc_msvc.hpp b/boost/align/detail/aligned_alloc_msvc.hpp
index 570a898..1cb7f2a 100644
--- a/boost/align/detail/aligned_alloc_msvc.hpp
+++ b/boost/align/detail/aligned_alloc_msvc.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_MSVC_HPP
#define BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_MSVC_HPP
@@ -16,20 +16,21 @@
#include <malloc.h>
namespace boost {
- namespace alignment {
- inline void* aligned_alloc(std::size_t alignment,
- std::size_t size) BOOST_NOEXCEPT
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- return ::_aligned_malloc(size, alignment);
- }
+namespace alignment {
- inline void aligned_free(void* ptr)
- BOOST_NOEXCEPT
- {
- ::_aligned_free(ptr);
- }
- }
+inline void* aligned_alloc(std::size_t alignment, std::size_t size)
+ BOOST_NOEXCEPT
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ return ::_aligned_malloc(size, alignment);
}
+inline void aligned_free(void* ptr) BOOST_NOEXCEPT
+{
+ ::_aligned_free(ptr);
+}
+
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/aligned_alloc_posix.hpp b/boost/align/detail/aligned_alloc_posix.hpp
index ceab4cb..3743652 100644
--- a/boost/align/detail/aligned_alloc_posix.hpp
+++ b/boost/align/detail/aligned_alloc_posix.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_POSIX_HPP
#define BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_POSIX_HPP
@@ -16,27 +16,28 @@
#include <stdlib.h>
namespace boost {
- namespace alignment {
- inline void* aligned_alloc(std::size_t alignment,
- std::size_t size) BOOST_NOEXCEPT
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- if (alignment < sizeof(void*)) {
- alignment = sizeof(void*);
- }
- void* p;
- if (::posix_memalign(&p, alignment, size) != 0) {
- p = 0;
- }
- return p;
- }
+namespace alignment {
- inline void aligned_free(void* ptr)
- BOOST_NOEXCEPT
- {
- ::free(ptr);
- }
+inline void* aligned_alloc(std::size_t alignment, std::size_t size)
+ BOOST_NOEXCEPT
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ if (alignment < sizeof(void*)) {
+ alignment = sizeof(void*);
}
+ void* p;
+ if (::posix_memalign(&p, alignment, size) != 0) {
+ p = 0;
+ }
+ return p;
+}
+
+inline void aligned_free(void* ptr) BOOST_NOEXCEPT
+{
+ ::free(ptr);
}
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/aligned_alloc_sunos.hpp b/boost/align/detail/aligned_alloc_sunos.hpp
index a2373bd..c5778cd 100644
--- a/boost/align/detail/aligned_alloc_sunos.hpp
+++ b/boost/align/detail/aligned_alloc_sunos.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_SUNOS_HPP
#define BOOST_ALIGN_DETAIL_ALIGNED_ALLOC_SUNOS_HPP
@@ -16,20 +16,21 @@
#include <stdlib.h>
namespace boost {
- namespace alignment {
- inline void* aligned_alloc(std::size_t alignment,
- std::size_t size) BOOST_NOEXCEPT
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- return ::memalign(alignment, size);
- }
+namespace alignment {
- inline void aligned_free(void* ptr)
- BOOST_NOEXCEPT
- {
- ::free(ptr);
- }
- }
+inline void* aligned_alloc(std::size_t alignment, std::size_t size)
+ BOOST_NOEXCEPT
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ return ::memalign(alignment, size);
}
+inline void aligned_free(void* ptr) BOOST_NOEXCEPT
+{
+ ::free(ptr);
+}
+
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/alignment_of.hpp b/boost/align/detail/alignment_of.hpp
index 1fa3070..b1d2d56 100644
--- a/boost/align/detail/alignment_of.hpp
+++ b/boost/align/detail/alignment_of.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_HPP
#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_HPP
@@ -13,15 +13,17 @@
#include <boost/align/detail/offset_object.hpp>
namespace boost {
- namespace alignment {
- namespace detail {
- template<class T>
- struct alignment_of
- : min_size<sizeof(T),
- sizeof(offset_object<T>) - sizeof(T)>::type {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<class T>
+struct alignment_of
+ : min_size<sizeof(T),
+ sizeof(offset_object<T>) - sizeof(T)>::type {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/alignment_of_clang.hpp b/boost/align/detail/alignment_of_clang.hpp
index 18d7c71..fa96a37 100644
--- a/boost/align/detail/alignment_of_clang.hpp
+++ b/boost/align/detail/alignment_of_clang.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CLANG_HPP
#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CLANG_HPP
@@ -13,14 +13,16 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- template<class T>
- struct alignment_of
- : integral_constant<std::size_t, __alignof(T)> {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<class T>
+struct alignment_of
+ : integral_constant<std::size_t, __alignof(T)> {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/alignment_of_codegear.hpp b/boost/align/detail/alignment_of_codegear.hpp
index 9074967..e8986ce 100644
--- a/boost/align/detail/alignment_of_codegear.hpp
+++ b/boost/align/detail/alignment_of_codegear.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CODEGEAR_HPP
#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CODEGEAR_HPP
@@ -13,14 +13,16 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- template<class T>
- struct alignment_of
- : integral_constant<std::size_t, alignof(T)> {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<class T>
+struct alignment_of
+ : integral_constant<std::size_t, alignof(T)> {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/alignment_of_cxx11.hpp b/boost/align/detail/alignment_of_cxx11.hpp
index d5d00a0..0f66098 100644
--- a/boost/align/detail/alignment_of_cxx11.hpp
+++ b/boost/align/detail/alignment_of_cxx11.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CXX11_HPP
#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_CXX11_HPP
@@ -12,11 +12,13 @@
#include <type_traits>
namespace boost {
- namespace alignment {
- namespace detail {
- using std::alignment_of;
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+using std::alignment_of;
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/alignment_of_gcc.hpp b/boost/align/detail/alignment_of_gcc.hpp
index 3044b2a..615968b 100644
--- a/boost/align/detail/alignment_of_gcc.hpp
+++ b/boost/align/detail/alignment_of_gcc.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_GCC_HPP
#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_GCC_HPP
@@ -13,14 +13,16 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- template<class T>
- struct alignment_of
- : integral_constant<std::size_t, __alignof__(T)> {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<class T>
+struct alignment_of
+ : integral_constant<std::size_t, __alignof__(T)> {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/alignment_of_msvc.hpp b/boost/align/detail/alignment_of_msvc.hpp
index a86f785..87d6ac8 100644
--- a/boost/align/detail/alignment_of_msvc.hpp
+++ b/boost/align/detail/alignment_of_msvc.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP
#define BOOST_ALIGN_DETAIL_ALIGNMENT_OF_MSVC_HPP
@@ -13,15 +13,16 @@
#include <boost/align/detail/offset_object.hpp>
namespace boost {
- namespace alignment {
- namespace detail {
- template<class T>
- struct alignment_of
- : min_size<sizeof(T),
- offsetof(offset_object<T>, object)>::type {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<class T>
+struct alignment_of
+ : min_size<sizeof(T), offsetof(offset_object<T>, object)>::type {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/assume_aligned.hpp b/boost/align/detail/assume_aligned.hpp
new file mode 100644
index 0000000..0ecefa1
--- /dev/null
+++ b/boost/align/detail/assume_aligned.hpp
@@ -0,0 +1,17 @@
+/*
+(c) 2015 NumScale SAS
+(c) 2015 LRI UMR 8623 CNRS/University Paris Sud XI
+
+(c) 2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
+
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
+*/
+#ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_HPP
+#define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_HPP
+
+#define BOOST_ALIGN_ASSUME_ALIGNED(ptr, alignment)
+
+#endif
diff --git a/boost/align/detail/assume_aligned_clang.hpp b/boost/align/detail/assume_aligned_clang.hpp
new file mode 100644
index 0000000..d72b4ca
--- /dev/null
+++ b/boost/align/detail/assume_aligned_clang.hpp
@@ -0,0 +1,21 @@
+/*
+(c) 2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
+
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
+*/
+#ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_CLANG_HPP
+#define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_CLANG_HPP
+
+#include <stdint.h>
+
+#if defined(__has_builtin) && __has_builtin(__builtin_assume)
+#define BOOST_ALIGN_ASSUME_ALIGNED(ptr, alignment) \
+__builtin_assume((uintptr_t(ptr) & ((alignment) - 1)) == 0)
+#else
+#define BOOST_ALIGN_ASSUME_ALIGNED(ptr, alignment)
+#endif
+
+#endif
diff --git a/boost/align/detail/assume_aligned_gcc.hpp b/boost/align/detail/assume_aligned_gcc.hpp
new file mode 100644
index 0000000..a1e6cb0
--- /dev/null
+++ b/boost/align/detail/assume_aligned_gcc.hpp
@@ -0,0 +1,18 @@
+/*
+(c) 2015 NumScale SAS
+(c) 2015 LRI UMR 8623 CNRS/University Paris Sud XI
+
+(c) 2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
+
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
+*/
+#ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_GCC_HPP
+#define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_GCC_HPP
+
+#define BOOST_ALIGN_ASSUME_ALIGNED(ptr, alignment) \
+(ptr) = __builtin_assume_aligned((ptr), (alignment))
+
+#endif
diff --git a/boost/align/detail/assume_aligned_intel.hpp b/boost/align/detail/assume_aligned_intel.hpp
new file mode 100644
index 0000000..aaaf331
--- /dev/null
+++ b/boost/align/detail/assume_aligned_intel.hpp
@@ -0,0 +1,18 @@
+/*
+(c) 2015 NumScale SAS
+(c) 2015 LRI UMR 8623 CNRS/University Paris Sud XI
+
+(c) 2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
+
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
+*/
+#ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_INTEL_HPP
+#define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_INTEL_HPP
+
+#define BOOST_ALIGN_ASSUME_ALIGNED(ptr, alignment) \
+__assume_aligned((ptr), (alignment))
+
+#endif
diff --git a/boost/align/detail/assume_aligned_msvc.hpp b/boost/align/detail/assume_aligned_msvc.hpp
new file mode 100644
index 0000000..fdad429
--- /dev/null
+++ b/boost/align/detail/assume_aligned_msvc.hpp
@@ -0,0 +1,20 @@
+/*
+(c) 2015 NumScale SAS
+(c) 2015 LRI UMR 8623 CNRS/University Paris Sud XI
+
+(c) 2015 Glen Joseph Fernandes
+glenjofe at gmail dot com
+
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
+*/
+#ifndef BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_MSVC_HPP
+#define BOOST_ALIGN_DETAIL_ASSUME_ALIGNED_MSVC_HPP
+
+#include <stddef.h>
+
+#define BOOST_ALIGN_ASSUME_ALIGNED(ptr, alignment) \
+__assume((uintptr_t(ptr) & ((alignment) - 1)) == 0)
+
+#endif
diff --git a/boost/align/detail/integral_constant.hpp b/boost/align/detail/integral_constant.hpp
index 332aade..6116fea 100644
--- a/boost/align/detail/integral_constant.hpp
+++ b/boost/align/detail/integral_constant.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_INTEGRAL_CONSTANT_HPP
#define BOOST_ALIGN_DETAIL_INTEGRAL_CONSTANT_HPP
@@ -16,31 +16,33 @@
#endif
namespace boost {
- namespace alignment {
- namespace detail {
+namespace alignment {
+namespace detail {
+
#if !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
- using std::integral_constant;
+using std::integral_constant;
#else
- template<class T, T Value>
- struct integral_constant {
- typedef T value_type;
- typedef integral_constant<T, Value> type;
+template<class T, T Value>
+struct integral_constant {
+ typedef T value_type;
+ typedef integral_constant<T, Value> type;
#if !defined(BOOST_NO_CXX11_CONSTEXPR)
- constexpr operator value_type() const {
- return Value;
- }
+ constexpr operator value_type() const {
+ return Value;
+ }
- static constexpr T value = Value;
+ static constexpr T value = Value;
#else
- enum {
- value = Value
- };
+ enum {
+ value = Value
+ };
#endif
- };
+};
#endif
- }
- }
-}
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/is_aligned.hpp b/boost/align/detail/is_aligned.hpp
index 41fb805..a861e9f 100644
--- a/boost/align/detail/is_aligned.hpp
+++ b/boost/align/detail/is_aligned.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_IS_ALIGNED_HPP
#define BOOST_ALIGN_DETAIL_IS_ALIGNED_HPP
@@ -16,14 +16,16 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- inline bool is_aligned(std::size_t alignment,
- const void* ptr) BOOST_NOEXCEPT
- {
- BOOST_ASSERT(detail::is_alignment(alignment));
- return (detail::address_t(ptr) & (alignment - 1)) == 0;
- }
- }
+namespace alignment {
+
+inline bool is_aligned(std::size_t alignment, const void* ptr)
+ BOOST_NOEXCEPT
+{
+ BOOST_ASSERT(detail::is_alignment(alignment));
+ return (detail::address_t(ptr) & (alignment - 1)) == 0;
}
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/is_alignment.hpp b/boost/align/detail/is_alignment.hpp
index 532198363..7ac0bb3 100644
--- a/boost/align/detail/is_alignment.hpp
+++ b/boost/align/detail/is_alignment.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_IS_ALIGNMENT_HPP
#define BOOST_ALIGN_DETAIL_IS_ALIGNMENT_HPP
@@ -13,15 +13,17 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- BOOST_CONSTEXPR inline bool is_alignment(std::size_t
- value) BOOST_NOEXCEPT
- {
- return (value > 0) && ((value & (value - 1)) == 0);
- }
- }
- }
+namespace alignment {
+namespace detail {
+
+BOOST_CONSTEXPR inline bool is_alignment(std::size_t value)
+ BOOST_NOEXCEPT
+{
+ return (value > 0) && ((value & (value - 1)) == 0);
}
+} /* :detail */
+} /* :alignment */
+} /* :boost */
+
#endif
diff --git a/boost/align/detail/is_alignment_constant.hpp b/boost/align/detail/is_alignment_constant.hpp
index 8f42260..4c703ca 100644
--- a/boost/align/detail/is_alignment_constant.hpp
+++ b/boost/align/detail/is_alignment_constant.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_IS_ALIGNMENT_CONSTANT_HPP
#define BOOST_ALIGN_DETAIL_IS_ALIGNMENT_CONSTANT_HPP
@@ -13,15 +13,16 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- template<std::size_t N>
- struct is_alignment_constant
- : integral_constant<bool,
- (N > 0) && ((N & (N - 1)) == 0)> {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<std::size_t N>
+struct is_alignment_constant
+ : integral_constant<bool, (N > 0) && ((N & (N - 1)) == 0)> {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/max_align.hpp b/boost/align/detail/max_align.hpp
index 775121d..4351a5a 100644
--- a/boost/align/detail/max_align.hpp
+++ b/boost/align/detail/max_align.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_MAX_ALIGN_HPP
#define BOOST_ALIGN_DETAIL_MAX_ALIGN_HPP
@@ -13,15 +13,16 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- template<std::size_t A, std::size_t B>
- struct max_align
- : integral_constant<std::size_t,
- (A > B) ? A : B> {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<std::size_t A, std::size_t B>
+struct max_align
+ : integral_constant<std::size_t, (A > B) ? A : B> {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/max_count_of.hpp b/boost/align/detail/max_count_of.hpp
index 3ba4eae..e0ae3bc 100644
--- a/boost/align/detail/max_count_of.hpp
+++ b/boost/align/detail/max_count_of.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_MAX_COUNT_OF_HPP
#define BOOST_ALIGN_DETAIL_MAX_COUNT_OF_HPP
@@ -13,15 +13,17 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- template<class T>
- struct max_count_of
- : integral_constant<std::size_t,
- ~static_cast<std::size_t>(0) / sizeof(T)> {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<class T>
+struct max_count_of
+ : integral_constant<std::size_t,
+ ~static_cast<std::size_t>(0) / sizeof(T)> {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/min_size.hpp b/boost/align/detail/min_size.hpp
index 80d3a7a..71afe8c 100644
--- a/boost/align/detail/min_size.hpp
+++ b/boost/align/detail/min_size.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_MIN_SIZE_HPP
#define BOOST_ALIGN_DETAIL_MIN_SIZE_HPP
@@ -13,15 +13,16 @@
#include <cstddef>
namespace boost {
- namespace alignment {
- namespace detail {
- template<std::size_t A, std::size_t B>
- struct min_size
- : integral_constant<std::size_t,
- (A < B) ? A : B> {
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<std::size_t A, std::size_t B>
+struct min_size
+ : integral_constant<std::size_t, (A < B) ? A : B> {
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/offset_object.hpp b/boost/align/detail/offset_object.hpp
index 8168595..2055edf 100644
--- a/boost/align/detail/offset_object.hpp
+++ b/boost/align/detail/offset_object.hpp
@@ -1,24 +1,26 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_OFFSET_OBJECT_HPP
#define BOOST_ALIGN_DETAIL_OFFSET_OBJECT_HPP
namespace boost {
- namespace alignment {
- namespace detail {
- template<class T>
- struct offset_object {
- char offset;
- T object;
- };
- }
- }
-}
+namespace alignment {
+namespace detail {
+
+template<class T>
+struct offset_object {
+ char offset;
+ T object;
+};
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/detail/remove_traits.hpp b/boost/align/detail/remove_traits.hpp
index d44860e..f59d6bf 100644
--- a/boost/align/detail/remove_traits.hpp
+++ b/boost/align/detail/remove_traits.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_DETAIL_REMOVE_TRAITS_HPP
#define BOOST_ALIGN_DETAIL_REMOVE_TRAITS_HPP
@@ -18,73 +18,75 @@
#endif
namespace boost {
- namespace alignment {
- namespace detail {
+namespace alignment {
+namespace detail {
+
#if !defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS)
- using std::remove_reference;
- using std::remove_all_extents;
- using std::remove_cv;
+using std::remove_reference;
+using std::remove_all_extents;
+using std::remove_cv;
#else
- template<class T>
- struct remove_reference {
- typedef T type;
- };
+template<class T>
+struct remove_reference {
+ typedef T type;
+};
- template<class T>
- struct remove_reference<T&> {
- typedef T type;
- };
+template<class T>
+struct remove_reference<T&> {
+ typedef T type;
+};
#if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
- template<class T>
- struct remove_reference<T&&> {
- typedef T type;
- };
+template<class T>
+struct remove_reference<T&&> {
+ typedef T type;
+};
#endif
- template<class T>
- struct remove_all_extents {
- typedef T type;
- };
-
- template<class T>
- struct remove_all_extents<T[]> {
- typedef typename remove_all_extents<T>::type type;
- };
-
- template<class T, std::size_t N>
- struct remove_all_extents<T[N]> {
- typedef typename remove_all_extents<T>::type type;
- };
-
- template<class T>
- struct remove_const {
- typedef T type;
- };
-
- template<class T>
- struct remove_const<const T> {
- typedef T type;
- };
-
- template<class T>
- struct remove_volatile {
- typedef T type;
- };
-
- template<class T>
- struct remove_volatile<volatile T> {
- typedef T type;
- };
-
- template<class T>
- struct remove_cv {
- typedef typename remove_volatile<typename
- remove_const<T>::type>::type type;
- };
+template<class T>
+struct remove_all_extents {
+ typedef T type;
+};
+
+template<class T>
+struct remove_all_extents<T[]> {
+ typedef typename remove_all_extents<T>::type type;
+};
+
+template<class T, std::size_t N>
+struct remove_all_extents<T[N]> {
+ typedef typename remove_all_extents<T>::type type;
+};
+
+template<class T>
+struct remove_const {
+ typedef T type;
+};
+
+template<class T>
+struct remove_const<const T> {
+ typedef T type;
+};
+
+template<class T>
+struct remove_volatile {
+ typedef T type;
+};
+
+template<class T>
+struct remove_volatile<volatile T> {
+ typedef T type;
+};
+
+template<class T>
+struct remove_cv {
+ typedef typename remove_volatile<typename
+ remove_const<T>::type>::type type;
+};
#endif
- }
- }
-}
+
+} /* :detail */
+} /* :alignment */
+} /* :boost */
#endif
diff --git a/boost/align/is_aligned.hpp b/boost/align/is_aligned.hpp
index de28665..7473864 100644
--- a/boost/align/is_aligned.hpp
+++ b/boost/align/is_aligned.hpp
@@ -1,10 +1,10 @@
/*
- (c) 2014 Glen Joseph Fernandes
- glenjofe at gmail dot com
+(c) 2014 Glen Joseph Fernandes
+glenjofe at gmail dot com
- Distributed under the Boost Software
- License, Version 1.0.
- http://boost.org/LICENSE_1_0.txt
+Distributed under the Boost Software
+License, Version 1.0.
+http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_IS_ALIGNED_HPP
#define BOOST_ALIGN_IS_ALIGNED_HPP
diff --git a/boost/archive/archive_exception.hpp b/boost/archive/archive_exception.hpp
index ffb430c..1159d27 100644
--- a/boost/archive/archive_exception.hpp
+++ b/boost/archive/archive_exception.hpp
@@ -21,7 +21,6 @@
#include <string>
#include <boost/config.hpp>
-#include <boost/preprocessor/empty.hpp>
#include <boost/archive/detail/decl.hpp>
// note: the only reason this is in here is that windows header
@@ -40,11 +39,16 @@ namespace archive {
//////////////////////////////////////////////////////////////////////
// exceptions thrown by archives
//
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) archive_exception :
+class BOOST_SYMBOL_VISIBLE archive_exception :
public virtual std::exception
{
-protected:
+private:
char m_buffer[128];
+protected:
+ BOOST_ARCHIVE_DECL unsigned int
+ append(unsigned int l, const char * a);
+ BOOST_ARCHIVE_DECL
+ archive_exception() BOOST_NOEXCEPT;
public:
typedef enum {
no_exception, // initialized without code
@@ -76,19 +80,15 @@ public:
// type has been instantiated in more than one module.
output_stream_error // error on input stream
} exception_code;
-public:
exception_code code;
- archive_exception(
+
+ BOOST_ARCHIVE_DECL archive_exception(
exception_code c,
const char * e1 = NULL,
const char * e2 = NULL
- );
- virtual ~archive_exception() throw();
- virtual const char *what() const throw();
-protected:
- unsigned int
- append(unsigned int l, const char * a);
- archive_exception();
+ ) BOOST_NOEXCEPT;
+ virtual BOOST_ARCHIVE_DECL ~archive_exception() BOOST_NOEXCEPT_OR_NOTHROW ;
+ virtual BOOST_ARCHIVE_DECL const char * what() const BOOST_NOEXCEPT_OR_NOTHROW ;
};
}// namespace archive
diff --git a/boost/archive/basic_archive.hpp b/boost/archive/basic_archive.hpp
index 0412112..ce7ac99 100644
--- a/boost/archive/basic_archive.hpp
+++ b/boost/archive/basic_archive.hpp
@@ -69,7 +69,7 @@ public:
}
};
-BOOST_ARCHIVE_DECL(library_version_type)
+BOOST_ARCHIVE_DECL library_version_type
BOOST_ARCHIVE_VERSION();
class version_type {
@@ -242,7 +242,7 @@ enum archive_flags {
flags_last = 8
};
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_SIGNATURE();
/* NOTE : Warning : Warning : Warning : Warning : Warning
diff --git a/boost/archive/basic_binary_iarchive.hpp b/boost/archive/basic_binary_iarchive.hpp
index a649d5e..c0cc655 100644
--- a/boost/archive/basic_binary_iarchive.hpp
+++ b/boost/archive/basic_binary_iarchive.hpp
@@ -25,7 +25,6 @@
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/basic_archive.hpp>
#include <boost/archive/detail/common_iarchive.hpp>
@@ -51,7 +50,7 @@ namespace detail {
/////////////////////////////////////////////////////////////////////////
// class basic_binary_iarchive - read serialized objects from a input binary stream
template<class Archive>
-class basic_binary_iarchive :
+class BOOST_SYMBOL_VISIBLE basic_binary_iarchive :
public detail::common_iarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -72,8 +71,8 @@ protected:
// note extra nonsense to sneak it pass the borland compiers
typedef detail::common_iarchive<Archive> detail_common_iarchive;
template<class T>
- void load_override(T & t, BOOST_PFTO int version){
- this->detail_common_iarchive::load_override(t, static_cast<int>(version));
+ void load_override(T & t){
+ this->detail_common_iarchive::load_override(t);
}
// include these to trap a change in binary format which
@@ -86,7 +85,7 @@ protected:
BOOST_STATIC_ASSERT(sizeof(object_reference_type) == sizeof(uint_least32_t));
// binary files don't include the optional information
- void load_override(class_id_optional_type & /* t */, int){}
+ void load_override(class_id_optional_type & /* t */){}
void load_override(tracking_type & t, int /*version*/){
library_version_type lvt = this->get_library_version();
@@ -101,10 +100,10 @@ protected:
t = boost::archive::tracking_type(x);
}
}
- void load_override(class_id_type & t, int version){
+ void load_override(class_id_type & t){
library_version_type lvt = this->get_library_version();
if(boost::archive::library_version_type(7) < lvt){
- this->detail_common_iarchive::load_override(t, version);
+ this->detail_common_iarchive::load_override(t);
}
else
if(boost::archive::library_version_type(6) < lvt){
@@ -118,37 +117,14 @@ protected:
t = boost::archive::class_id_type(x);
}
}
- void load_override(class_id_reference_type & t, int version){
- load_override(static_cast<class_id_type &>(t), version);
+ void load_override(class_id_reference_type & t){
+ load_override(static_cast<class_id_type &>(t));
}
-#if 0
- void load_override(class_id_reference_type & t, int version){
- library_version_type lvt = this->get_library_version();
- if(boost::archive::library_version_type(7) < lvt){
- this->detail_common_iarchive::load_override(t, version);
- }
- else
- if(boost::archive::library_version_type(6) < lvt){
- int_least16_t x=0;
- * this->This() >> x;
- t = boost::archive::class_id_reference_type(
- boost::archive::class_id_type(x)
- );
- }
- else{
- int x=0;
- * this->This() >> x;
- t = boost::archive::class_id_reference_type(
- boost::archive::class_id_type(x)
- );
- }
- }
-#endif
- void load_override(version_type & t, int version){
+ void load_override(version_type & t){
library_version_type lvt = this->get_library_version();
if(boost::archive::library_version_type(7) < lvt){
- this->detail_common_iarchive::load_override(t, version);
+ this->detail_common_iarchive::load_override(t);
}
else
if(boost::archive::library_version_type(6) < lvt){
@@ -176,11 +152,11 @@ protected:
}
}
- void load_override(boost::serialization::item_version_type & t, int version){
+ void load_override(boost::serialization::item_version_type & t){
library_version_type lvt = this->get_library_version();
// if(boost::archive::library_version_type(7) < lvt){
if(boost::archive::library_version_type(6) < lvt){
- this->detail_common_iarchive::load_override(t, version);
+ this->detail_common_iarchive::load_override(t);
}
else
if(boost::archive::library_version_type(6) < lvt){
@@ -195,9 +171,9 @@ protected:
}
}
- void load_override(serialization::collection_size_type & t, int version){
+ void load_override(serialization::collection_size_type & t){
if(boost::archive::library_version_type(5) < this->get_library_version()){
- this->detail_common_iarchive::load_override(t, version);
+ this->detail_common_iarchive::load_override(t);
}
else{
unsigned int x=0;
@@ -206,9 +182,9 @@ protected:
}
}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- load_override(class_name_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ load_override(class_name_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
basic_binary_iarchive(unsigned int flags) :
diff --git a/boost/archive/basic_binary_iprimitive.hpp b/boost/archive/basic_binary_iprimitive.hpp
index 4b41991..5e82631 100644
--- a/boost/archive/basic_binary_iprimitive.hpp
+++ b/boost/archive/basic_binary_iprimitive.hpp
@@ -67,8 +67,7 @@ class codecvt_null;
/////////////////////////////////////////////////////////////////////////////
// class binary_iarchive - read serialized objects from a input binary stream
template<class Archive, class Elem, class Tr>
-class basic_binary_iprimitive
-{
+class BOOST_SYMBOL_VISIBLE basic_binary_iprimitive {
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
friend class load_access;
protected:
@@ -103,25 +102,25 @@ public:
BOOST_ASSERT(0 == i || 1 == i);
(void)i; // warning suppression for release builds.
}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
load(std::string &s);
#ifndef BOOST_NO_STD_WSTRING
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
load(std::wstring &ws);
#endif
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
load(char * t);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
load(wchar_t * t);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_binary_iprimitive(
std::basic_streambuf<Elem, Tr> & sb,
bool no_codecvt
);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
~basic_binary_iprimitive();
public:
// we provide an optimized load for all fundamental types
diff --git a/boost/archive/basic_binary_oarchive.hpp b/boost/archive/basic_binary_oarchive.hpp
index f8b53e9..f05f2f8 100644
--- a/boost/archive/basic_binary_oarchive.hpp
+++ b/boost/archive/basic_binary_oarchive.hpp
@@ -26,7 +26,6 @@
#include <boost/assert.hpp>
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/integer.hpp>
#include <boost/integer_traits.hpp>
@@ -59,8 +58,8 @@ namespace detail {
// does have the virtue of buiding the smalles archive in the minimum amount
// of time. So under some circumstances it may be he right choice.
template<class Archive>
-class basic_binary_oarchive :
- public archive::detail::common_oarchive<Archive>
+class BOOST_SYMBOL_VISIBLE basic_binary_oarchive :
+ public detail::common_oarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
public:
@@ -77,8 +76,8 @@ protected:
// any datatype not specifed below will be handled by base class
typedef detail::common_oarchive<Archive> detail_common_oarchive;
template<class T>
- void save_override(const T & t, BOOST_PFTO int version){
- this->detail_common_oarchive::save_override(t, static_cast<int>(version));
+ void save_override(const T & t){
+ this->detail_common_oarchive::save_override(t);
}
// include these to trap a change in binary format which
@@ -92,14 +91,14 @@ protected:
BOOST_STATIC_ASSERT(sizeof(object_reference_type) == sizeof(uint_least32_t));
// binary files don't include the optional information
- void save_override(const class_id_optional_type & /* t */, int){}
+ void save_override(const class_id_optional_type & /* t */){}
// enable this if we decide to support generation of previous versions
#if 0
- void save_override(const boost::archive::version_type & t, int version){
+ void save_override(const boost::archive::version_type & t){
library_version_type lvt = this->get_library_version();
if(boost::archive::library_version_type(7) < lvt){
- this->detail_common_oarchive::save_override(t, version);
+ this->detail_common_oarchive::save_override(t);
}
else
if(boost::archive::library_version_type(6) < lvt){
@@ -111,10 +110,10 @@ protected:
* this->This() << x;
}
}
- void save_override(const boost::serialization::item_version_type & t, int version){
+ void save_override(const boost::serialization::item_version_type & t){
library_version_type lvt = this->get_library_version();
if(boost::archive::library_version_type(7) < lvt){
- this->detail_common_oarchive::save_override(t, version);
+ this->detail_common_oarchive::save_override(t);
}
else
if(boost::archive::library_version_type(6) < lvt){
@@ -127,10 +126,10 @@ protected:
}
}
- void save_override(class_id_type & t, int version){
+ void save_override(class_id_type & t){
library_version_type lvt = this->get_library_version();
if(boost::archive::library_version_type(7) < lvt){
- this->detail_common_oarchive::save_override(t, version);
+ this->detail_common_oarchive::save_override(t);
}
else
if(boost::archive::library_version_type(6) < lvt){
@@ -142,20 +141,20 @@ protected:
* this->This() << x;
}
}
- void save_override(class_id_reference_type & t, int version){
- save_override(static_cast<class_id_type &>(t), version);
+ void save_override(class_id_reference_type & t){
+ save_override(static_cast<class_id_type &>(t));
}
#endif
// explicitly convert to char * to avoid compile ambiguities
- void save_override(const class_name_type & t, int){
+ void save_override(const class_name_type & t){
const std::string s(t);
* this->This() << s;
}
#if 0
- void save_override(const serialization::collection_size_type & t, int){
+ void save_override(const serialization::collection_size_type & t){
if (get_library_version() < boost::archive::library_version_type(6)){
unsigned int x=0;
* this->This() >> x;
@@ -166,7 +165,7 @@ protected:
}
}
#endif
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
basic_binary_oarchive(unsigned int flags) :
diff --git a/boost/archive/basic_binary_oprimitive.hpp b/boost/archive/basic_binary_oprimitive.hpp
index a79cd1d..077d705 100644
--- a/boost/archive/basic_binary_oprimitive.hpp
+++ b/boost/archive/basic_binary_oprimitive.hpp
@@ -61,7 +61,7 @@ class codecvt_null;
// class basic_binary_oprimitive - binary output of prmitives
template<class Archive, class Elem, class Tr>
-class basic_binary_oprimitive {
+class BOOST_SYMBOL_VISIBLE basic_binary_oprimitive {
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
friend class save_access;
protected:
@@ -94,26 +94,26 @@ public:
BOOST_ASSERT(0 == static_cast<int>(t) || 1 == static_cast<int>(t));
save_binary(& t, sizeof(t));
}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
save(const std::string &s);
#ifndef BOOST_NO_STD_WSTRING
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
save(const std::wstring &ws);
#endif
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
save(const char * t);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
save(const wchar_t * t);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_binary_oprimitive(
std::basic_streambuf<Elem, Tr> & sb,
bool no_codecvt
);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
~basic_binary_oprimitive();
public:
diff --git a/boost/archive/basic_text_iarchive.hpp b/boost/archive/basic_text_iarchive.hpp
index 0e78ff6..583041d 100644
--- a/boost/archive/basic_text_iarchive.hpp
+++ b/boost/archive/basic_text_iarchive.hpp
@@ -25,7 +25,6 @@
// use two template parameters
#include <boost/config.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/archive/detail/common_iarchive.hpp>
@@ -47,7 +46,7 @@ namespace detail {
/////////////////////////////////////////////////////////////////////////
// class basic_text_iarchive - read serialized objects from a input text stream
template<class Archive>
-class basic_text_iarchive :
+class BOOST_SYMBOL_VISIBLE basic_text_iarchive :
public detail::common_iarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -67,16 +66,16 @@ protected:
// template ordering
typedef detail::common_iarchive<Archive> detail_common_iarchive;
template<class T>
- void load_override(T & t, BOOST_PFTO int){
- this->detail_common_iarchive::load_override(t, 0);
+ void load_override(T & t){
+ this->detail_common_iarchive::load_override(t);
}
// text file don't include the optional information
- void load_override(class_id_optional_type & /*t*/, int){}
+ void load_override(class_id_optional_type & /*t*/){}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- load_override(class_name_type & t, int);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ load_override(class_name_type & t);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init(void);
basic_text_iarchive(unsigned int flags) :
diff --git a/boost/archive/basic_text_iprimitive.hpp b/boost/archive/basic_text_iprimitive.hpp
index dabc3c8..08da95c 100644
--- a/boost/archive/basic_text_iprimitive.hpp
+++ b/boost/archive/basic_text_iprimitive.hpp
@@ -64,7 +64,7 @@ namespace archive {
#endif
template<class IStream>
-class basic_text_iprimitive {
+class BOOST_SYMBOL_VISIBLE basic_text_iprimitive {
protected:
IStream &is;
io::ios_flags_saver flags_saver;
@@ -116,12 +116,12 @@ protected:
t = i;
}
#endif
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_text_iprimitive(IStream &is, bool no_codecvt);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
~basic_text_iprimitive();
public:
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
load_binary(void *address, std::size_t count);
};
diff --git a/boost/archive/basic_text_oarchive.hpp b/boost/archive/basic_text_oarchive.hpp
index 0c60a31..6f7f8fb 100644
--- a/boost/archive/basic_text_oarchive.hpp
+++ b/boost/archive/basic_text_oarchive.hpp
@@ -25,7 +25,6 @@
// use two template parameters
#include <boost/config.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/archive/detail/common_oarchive.hpp>
#include <boost/serialization/string.hpp>
@@ -47,7 +46,7 @@ namespace detail {
/////////////////////////////////////////////////////////////////////////
// class basic_text_oarchive
template<class Archive>
-class basic_text_oarchive :
+class BOOST_SYMBOL_VISIBLE basic_text_oarchive :
public detail::common_oarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -69,7 +68,7 @@ protected:
space
} delimiter;
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
newtoken();
void newline(){
@@ -80,25 +79,25 @@ protected:
// extra stuff to get it passed borland compilers
typedef detail::common_oarchive<Archive> detail_common_oarchive;
template<class T>
- void save_override(T & t, BOOST_PFTO int){
- this->detail_common_oarchive::save_override(t, 0);
+ void save_override(T & t){
+ this->detail_common_oarchive::save_override(t);
}
// start new objects on a new line
- void save_override(const object_id_type & t, int){
+ void save_override(const object_id_type & t){
this->This()->newline();
- this->detail_common_oarchive::save_override(t, 0);
+ this->detail_common_oarchive::save_override(t);
}
// text file don't include the optional information
- void save_override(const class_id_optional_type & /* t */, int){}
+ void save_override(const class_id_optional_type & /* t */){}
- void save_override(const class_name_type & t, int){
+ void save_override(const class_name_type & t){
const std::string s(t);
* this->This() << s;
}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
basic_text_oarchive(unsigned int flags) :
diff --git a/boost/archive/basic_text_oprimitive.hpp b/boost/archive/basic_text_oprimitive.hpp
index 3c4cb5b..8633092 100644
--- a/boost/archive/basic_text_oprimitive.hpp
+++ b/boost/archive/basic_text_oprimitive.hpp
@@ -64,7 +64,7 @@ namespace archive {
/////////////////////////////////////////////////////////////////////////
// class basic_text_oprimitive - output of prmitives to stream
template<class OStream>
-class basic_text_oprimitive
+class BOOST_SYMBOL_VISIBLE basic_text_oprimitive
{
protected:
OStream &os;
@@ -174,9 +174,9 @@ protected:
save_impl(t, tf);
}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_text_oprimitive(OStream & os, bool no_codecvt);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
~basic_text_oprimitive();
public:
// unformatted append of one character
@@ -192,7 +192,7 @@ public:
while('\0' != *s)
os.put(*s++);
}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
save_binary(const void *address, std::size_t count);
};
diff --git a/boost/archive/basic_xml_archive.hpp b/boost/archive/basic_xml_archive.hpp
index a4ad3a2..bef368b 100644
--- a/boost/archive/basic_xml_archive.hpp
+++ b/boost/archive/basic_xml_archive.hpp
@@ -27,35 +27,35 @@ namespace archive {
// constant strings used in xml i/o
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_OBJECT_ID();
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_OBJECT_REFERENCE();
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_CLASS_ID();
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_CLASS_ID_REFERENCE();
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_CLASS_NAME();
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_TRACKING();
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_VERSION();
extern
-BOOST_ARCHIVE_DECL(const char *)
+BOOST_ARCHIVE_DECL const char *
BOOST_ARCHIVE_XML_SIGNATURE();
}// namespace archive
diff --git a/boost/archive/basic_xml_iarchive.hpp b/boost/archive/basic_xml_iarchive.hpp
index 5047fef..7834d8a 100644
--- a/boost/archive/basic_xml_iarchive.hpp
+++ b/boost/archive/basic_xml_iarchive.hpp
@@ -17,7 +17,6 @@
// See http://www.boost.org for updates, documentation, and revision history.
#include <boost/config.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/archive/detail/common_iarchive.hpp>
@@ -44,7 +43,7 @@ namespace detail {
/////////////////////////////////////////////////////////////////////////
// class xml_iarchive - read serialized objects from a input text stream
template<class Archive>
-class basic_xml_iarchive :
+class BOOST_SYMBOL_VISIBLE basic_xml_iarchive :
public detail::common_iarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -60,21 +59,21 @@ protected:
#endif
#endif
unsigned int depth;
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
load_start(const char *name);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
load_end(const char *name);
// Anything not an attribute and not a name-value pair is an
// should be trapped here.
template<class T>
- void load_override(T & t, BOOST_PFTO int)
+ void load_override(T & t)
{
// If your program fails to compile here, its most likely due to
// not specifying an nvp wrapper around the variable to
// be serialized.
BOOST_MPL_ASSERT((serialization::is_wrapper< T >));
- this->detail_common_iarchive::load_override(t, 0);
+ this->detail_common_iarchive::load_override(t);
}
// Anything not an attribute - see below - should be a name value
@@ -82,14 +81,10 @@ protected:
typedef detail::common_iarchive<Archive> detail_common_iarchive;
template<class T>
void load_override(
- #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
- const
- #endif
- boost::serialization::nvp< T > & t,
- int
+ const boost::serialization::nvp< T > & t
){
this->This()->load_start(t.name());
- this->detail_common_iarchive::load_override(t.value(), 0);
+ this->detail_common_iarchive::load_override(t.value());
this->This()->load_end(t.name());
}
@@ -101,23 +96,23 @@ protected:
// an xml archive. So we can skip it here. Note: we MUST override
// it otherwise it will be loaded as a normal primitive w/o tag and
// leaving the archive in an undetermined state
- void load_override(class_id_optional_type & /* t */, int){}
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- load_override(object_id_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- load_override(version_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- load_override(class_id_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- load_override(tracking_type & t, int);
+ void load_override(class_id_optional_type & /* t */){}
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ load_override(object_id_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ load_override(version_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ load_override(class_id_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ load_override(tracking_type & t);
// class_name_type can't be handled here as it depends upon the
// char type used by the stream. So require the derived implementation
// handle this.
- // void load_override(class_name_type & t, int);
+ // void load_override(class_name_type & t);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_xml_iarchive(unsigned int flags);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
~basic_xml_iarchive();
};
diff --git a/boost/archive/basic_xml_oarchive.hpp b/boost/archive/basic_xml_oarchive.hpp
index 8a039fa..0325eee 100644
--- a/boost/archive/basic_xml_oarchive.hpp
+++ b/boost/archive/basic_xml_oarchive.hpp
@@ -18,7 +18,6 @@
#include <boost/config.hpp>
#include <boost/mpl/assert.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/archive/detail/common_oarchive.hpp>
@@ -45,7 +44,7 @@ namespace detail {
//////////////////////////////////////////////////////////////////////
// class basic_xml_oarchive - write serialized objects to a xml output stream
template<class Archive>
-class basic_xml_oarchive :
+class BOOST_SYMBOL_VISIBLE basic_xml_oarchive :
public detail::common_oarchive<Archive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -65,78 +64,74 @@ protected:
unsigned int depth;
bool indent_next;
bool pending_preamble;
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
indent();
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
init();
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
write_attribute(
const char *attribute_name,
int t,
const char *conjunction = "=\""
);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
write_attribute(
const char *attribute_name,
const char *key
);
// helpers used below
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
save_start(const char *name);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
save_end(const char *name);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
end_preamble();
// Anything not an attribute and not a name-value pair is an
// error and should be trapped here.
template<class T>
- void save_override(T & t, BOOST_PFTO int)
+ void save_override(T & t)
{
// If your program fails to compile here, its most likely due to
// not specifying an nvp wrapper around the variable to
// be serialized.
BOOST_MPL_ASSERT((serialization::is_wrapper< T >));
- this->detail_common_oarchive::save_override(t, 0);
+ this->detail_common_oarchive::save_override(t);
}
// special treatment for name-value pairs.
typedef detail::common_oarchive<Archive> detail_common_oarchive;
template<class T>
void save_override(
- #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
- const
- #endif
- ::boost::serialization::nvp< T > & t,
- int
+ const ::boost::serialization::nvp< T > & t
){
this->This()->save_start(t.name());
- this->detail_common_oarchive::save_override(t.const_value(), 0);
+ this->detail_common_oarchive::save_override(t.const_value());
this->This()->save_end(t.name());
}
// specific overrides for attributes - not name value pairs so we
// want to trap them before the above "fall through"
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const object_id_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const object_reference_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const version_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const class_id_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const class_id_optional_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const class_id_reference_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const class_name_type & t, int);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
- save_override(const tracking_type & t, int);
-
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const object_id_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const object_reference_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const version_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const class_id_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const class_id_optional_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const class_id_reference_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const class_name_type & t);
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+ save_override(const tracking_type & t);
+
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_xml_oarchive(unsigned int flags);
- BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+ BOOST_ARCHIVE_OR_WARCHIVE_DECL
~basic_xml_oarchive();
};
diff --git a/boost/archive/binary_iarchive.hpp b/boost/archive/binary_iarchive.hpp
index ce67cca..785ce76 100644
--- a/boost/archive/binary_iarchive.hpp
+++ b/boost/archive/binary_iarchive.hpp
@@ -31,7 +31,7 @@ namespace archive {
// do not derive from this class. If you want to extend this functionality
// via inhertance, derived from binary_iarchive_impl instead. This will
// preserve correct static polymorphism.
-class binary_iarchive :
+class BOOST_SYMBOL_VISIBLE binary_iarchive :
public binary_iarchive_impl<
boost::archive::binary_iarchive,
std::istream::char_type,
diff --git a/boost/archive/binary_iarchive_impl.hpp b/boost/archive/binary_iarchive_impl.hpp
index a9afe61..3ff994a 100644
--- a/boost/archive/binary_iarchive_impl.hpp
+++ b/boost/archive/binary_iarchive_impl.hpp
@@ -17,7 +17,6 @@
// See http://www.boost.org for updates, documentation, and revision history.
#include <istream>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/basic_binary_iprimitive.hpp>
#include <boost/archive/basic_binary_iarchive.hpp>
@@ -54,12 +53,9 @@ protected:
friend class load_access;
#endif
#endif
- // note: the following should not needed - but one compiler (vc 7.1)
- // fails to compile one test (test_shared_ptr) without it !!!
- // make this protected so it can be called from a derived archive
template<class T>
- void load_override(T & t, BOOST_PFTO int){
- this->basic_binary_iarchive<Archive>::load_override(t, 0L);
+ void load_override(T & t){
+ this->basic_binary_iarchive<Archive>::load_override(t);
}
void init(unsigned int flags){
if(0 != (flags & no_header))
diff --git a/boost/archive/binary_oarchive.hpp b/boost/archive/binary_oarchive.hpp
index 89a86da..e8313fd 100644
--- a/boost/archive/binary_oarchive.hpp
+++ b/boost/archive/binary_oarchive.hpp
@@ -32,7 +32,7 @@ namespace archive {
// do not derive from this class. If you want to extend this functionality
// via inhertance, derived from binary_oarchive_impl instead. This will
// preserve correct static polymorphism.
-class binary_oarchive :
+class BOOST_SYMBOL_VISIBLE binary_oarchive :
public binary_oarchive_impl<
binary_oarchive, std::ostream::char_type, std::ostream::traits_type
>
diff --git a/boost/archive/binary_oarchive_impl.hpp b/boost/archive/binary_oarchive_impl.hpp
index a8c9733..76e3a65 100644
--- a/boost/archive/binary_oarchive_impl.hpp
+++ b/boost/archive/binary_oarchive_impl.hpp
@@ -18,7 +18,6 @@
#include <ostream>
#include <boost/config.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/basic_binary_oprimitive.hpp>
#include <boost/archive/basic_binary_oarchive.hpp>
@@ -55,12 +54,9 @@ protected:
friend class save_access;
#endif
#endif
- // note: the following should not needed - but one compiler (vc 7.1)
- // fails to compile one test (test_shared_ptr) without it !!!
- // make this protected so it can be called from a derived archive
template<class T>
- void save_override(T & t, BOOST_PFTO int){
- this->basic_binary_oarchive<Archive>::save_override(t, 0L);
+ void save_override(T & t){
+ this->basic_binary_oarchive<Archive>::save_override(t);
}
void init(unsigned int flags) {
if(0 != (flags & no_header))
diff --git a/boost/archive/codecvt_null.hpp b/boost/archive/codecvt_null.hpp
index 75387a9..324122b 100644
--- a/boost/archive/codecvt_null.hpp
+++ b/boost/archive/codecvt_null.hpp
@@ -61,7 +61,7 @@ public:
template<>
class codecvt_null<wchar_t> : public std::codecvt<wchar_t, char, std::mbstate_t>
{
- virtual BOOST_WARCHIVE_DECL(std::codecvt_base::result)
+ virtual BOOST_WARCHIVE_DECL std::codecvt_base::result
do_out(
std::mbstate_t & state,
const wchar_t * first1,
@@ -71,7 +71,7 @@ class codecvt_null<wchar_t> : public std::codecvt<wchar_t, char, std::mbstate_t>
char * last2,
char * & next2
) const;
- virtual BOOST_WARCHIVE_DECL(std::codecvt_base::result)
+ virtual BOOST_WARCHIVE_DECL std::codecvt_base::result
do_in(
std::mbstate_t & state,
const char * first1,
diff --git a/boost/archive/detail/abi_prefix.hpp b/boost/archive/detail/abi_prefix.hpp
index e39ef11..debf79e 100644
--- a/boost/archive/detail/abi_prefix.hpp
+++ b/boost/archive/detail/abi_prefix.hpp
@@ -14,7 +14,3 @@
# pragma warning(disable : 4251 4231 4660 4275)
#endif
-#if defined( __BORLANDC__ )
-#pragma nopushoptwarn
-#endif
-
diff --git a/boost/archive/detail/abi_suffix.hpp b/boost/archive/detail/abi_suffix.hpp
index a283b36..4e054d6 100644
--- a/boost/archive/detail/abi_suffix.hpp
+++ b/boost/archive/detail/abi_suffix.hpp
@@ -13,7 +13,3 @@
#endif
#include <boost/config/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
-#if defined( __BORLANDC__ )
-#pragma nopushoptwarn
-#endif
-
diff --git a/boost/archive/detail/archive_serializer_map.hpp b/boost/archive/detail/archive_serializer_map.hpp
index 53fcae4..5432bfc 100644
--- a/boost/archive/detail/archive_serializer_map.hpp
+++ b/boost/archive/detail/archive_serializer_map.hpp
@@ -36,12 +36,11 @@ namespace detail {
class basic_serializer;
template<class Archive>
-class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
-archive_serializer_map {
+class BOOST_SYMBOL_VISIBLE archive_serializer_map {
public:
- static bool insert(const basic_serializer * bs);
- static void erase(const basic_serializer * bs);
- static const basic_serializer * find(
+ static BOOST_ARCHIVE_OR_WARCHIVE_DECL bool insert(const basic_serializer * bs);
+ static BOOST_ARCHIVE_OR_WARCHIVE_DECL void erase(const basic_serializer * bs);
+ static BOOST_ARCHIVE_OR_WARCHIVE_DECL const basic_serializer * find(
const boost::serialization::extended_type_info & type_
);
};
diff --git a/boost/archive/detail/basic_archive_impl.hpp b/boost/archive/detail/basic_archive_impl.hpp
deleted file mode 100644
index 860066f..0000000
--- a/boost/archive/detail/basic_archive_impl.hpp
+++ /dev/null
@@ -1,45 +0,0 @@
-#ifndef BOOST_ARCHIVE_DETAIL_BASIC_ARCHIVE_IMPL_HPP
-#define BOOST_ARCHIVE_DETAIL_BASIC_ARCHIVE_IMPL_HPP
-
-// MS compatible compilers support #pragma once
-#if defined(_MSC_VER)
-# pragma once
-#endif
-
-/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
-// basic_archive_impl.hpp:
-
-// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
-// Use, modification and distribution is subject to 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)
-
-// See http://www.boost.org for updates, documentation, and revision history.
-
-#include <set>
-
-#include <boost/archive/detail/abi_prefix.hpp> // must be the last header
-
-namespace boost {
-namespace serialization {
- class extended_type_info;
-} // namespace serialization
-
-namespace archive {
-namespace detail {
-
-//////////////////////////////////////////////////////////////////////
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_archive_impl
-{
-};
-
-} // namespace detail
-} // namespace serialization
-} // namespace boost
-
-#include <boost/archive/detail/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
-
-#endif //BOOST_ARCHIVE_DETAIL_BASIC_ARCHIVE_IMPL_HPP
-
-
-
diff --git a/boost/archive/detail/basic_config.hpp b/boost/archive/detail/basic_config.hpp
deleted file mode 100644
index 4bd2723..0000000
--- a/boost/archive/detail/basic_config.hpp
+++ /dev/null
@@ -1,45 +0,0 @@
-#ifndef BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_HPP
-#define BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_HPP
-
-// MS compatible compilers support #pragma once
-#if defined(_MSC_VER)
-# pragma once
-#endif
-
-// basic_config.hpp ---------------------------------------------//
-
-// (c) Copyright Robert Ramey 2004
-// Use, modification, and distribution is subject to 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)
-
-// See library home page at http://www.boost.org/libs/serialization
-
-//----------------------------------------------------------------------------//
-
-// This header implements separate compilation features as described in
-// http://www.boost.org/more/separate_compilation.html
-
-#include <boost/config.hpp>
-
-#ifdef BOOST_HAS_DECLSPEC // defined in config system
-// we need to import/export our code only if the user has specifically
-// asked for it by defining either BOOST_ALL_DYN_LINK if they want all boost
-// libraries to be dynamically linked, or BOOST_ARCHIVE_DYN_LINK
-// if they want just this one to be dynamically linked:
-#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_ARCHIVE_DYN_LINK)
-// export if this is our own source, otherwise import:
-#ifdef BOOST_ARCHIVE_SOURCE
-# define BOOST_ARCHIVE_DECL __declspec(dllexport)
-#else
-# define BOOST_ARCHIVE_DECL __declspec(dllimport)
-#endif // BOOST_ARCHIVE_SOURCE
-#endif // DYN_LINK
-#endif // BOOST_HAS_DECLSPEC
-//
-// if BOOST_ARCHIVE_DECL isn't defined yet define it now:
-#ifndef BOOST_ARCHIVE_DECL
-#define BOOST_ARCHIVE_DECL
-#endif
-
-#endif // BOOST_ARCHIVE_DETAIL_BASIC_CONFIG_HPP
diff --git a/boost/archive/detail/basic_iarchive.hpp b/boost/archive/detail/basic_iarchive.hpp
index ce8dbc0..befd0c7 100644
--- a/boost/archive/detail/basic_iarchive.hpp
+++ b/boost/archive/detail/basic_iarchive.hpp
@@ -37,11 +37,12 @@ namespace archive {
namespace detail {
class basic_iarchive_impl;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer;
+class basic_iserializer;
+class basic_pointer_iserializer;
+
//////////////////////////////////////////////////////////////////////
// class basic_iarchive - read serialized objects from a input stream
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iarchive :
+class BOOST_SYMBOL_VISIBLE basic_iarchive :
private boost::noncopyable,
public boost::archive::detail::helper_collection
{
@@ -56,41 +57,46 @@ class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iarchive :
virtual void vload(class_name_type &t) = 0;
virtual void vload(tracking_type &t) = 0;
protected:
- basic_iarchive(unsigned int flags);
+ BOOST_ARCHIVE_DECL basic_iarchive(unsigned int flags);
+ boost::archive::detail::helper_collection &
+ get_helper_collection(){
+ return *this;
+ }
public:
+ // some msvc versions require that the following function be public
+ // otherwise it should really protected.
// account for bogus gcc warning
#if defined(__GNUC__)
virtual
#endif
- ~basic_iarchive();
+ BOOST_ARCHIVE_DECL ~basic_iarchive();
// note: NOT part of the public API.
- void next_object_pointer(void *t);
- void register_basic_serializer(
+ BOOST_ARCHIVE_DECL void next_object_pointer(void *t);
+ BOOST_ARCHIVE_DECL void register_basic_serializer(
const basic_iserializer & bis
);
- void load_object(
+ BOOST_ARCHIVE_DECL void load_object(
void *t,
const basic_iserializer & bis
);
- const basic_pointer_iserializer *
+ BOOST_ARCHIVE_DECL const basic_pointer_iserializer *
load_pointer(
void * & t,
const basic_pointer_iserializer * bpis_ptr,
const basic_pointer_iserializer * (*finder)(
const boost::serialization::extended_type_info & eti
)
-
);
// real public API starts here
- void
+ BOOST_ARCHIVE_DECL void
set_library_version(library_version_type archive_library_version);
- library_version_type
+ BOOST_ARCHIVE_DECL library_version_type
get_library_version() const;
- unsigned int
+ BOOST_ARCHIVE_DECL unsigned int
get_flags() const;
- void
+ BOOST_ARCHIVE_DECL void
reset_object_address(const void * new_address, const void * old_address);
- void
+ BOOST_ARCHIVE_DECL void
delete_created_pointers();
};
diff --git a/boost/archive/detail/basic_iserializer.hpp b/boost/archive/detail/basic_iserializer.hpp
index 3bff3e1..240f0bc 100644
--- a/boost/archive/detail/basic_iserializer.hpp
+++ b/boost/archive/detail/basic_iserializer.hpp
@@ -39,23 +39,23 @@ namespace serialization {
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iarchive;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer;
+class basic_iarchive;
+class basic_pointer_iserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iserializer :
+class BOOST_SYMBOL_VISIBLE basic_iserializer :
public basic_serializer
{
private:
basic_pointer_iserializer *m_bpis;
protected:
- explicit basic_iserializer(
+ explicit BOOST_ARCHIVE_DECL basic_iserializer(
const boost::serialization::extended_type_info & type
);
// account for bogus gcc warning
#if defined(__GNUC__)
virtual
#endif
- ~basic_iserializer();
+ BOOST_ARCHIVE_DECL ~basic_iserializer();
public:
bool serialized_as_pointer() const {
return m_bpis != NULL;
diff --git a/boost/archive/detail/basic_oarchive.hpp b/boost/archive/detail/basic_oarchive.hpp
index fe192f0..702c560 100644
--- a/boost/archive/detail/basic_oarchive.hpp
+++ b/boost/archive/detail/basic_oarchive.hpp
@@ -35,12 +35,12 @@ namespace archive {
namespace detail {
class basic_oarchive_impl;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer;
+class basic_oserializer;
+class basic_pointer_oserializer;
//////////////////////////////////////////////////////////////////////
// class basic_oarchive - write serialized objects to an output stream
-class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oarchive :
+class BOOST_SYMBOL_VISIBLE basic_oarchive :
private boost::noncopyable,
public boost::archive::detail::helper_collection
{
@@ -59,22 +59,26 @@ class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oarchive :
virtual void vsave(const class_name_type & t) = 0;
virtual void vsave(const tracking_type t) = 0;
protected:
- basic_oarchive(unsigned int flags = 0);
+ BOOST_ARCHIVE_DECL basic_oarchive(unsigned int flags = 0);
+ BOOST_ARCHIVE_DECL boost::archive::detail::helper_collection &
+ get_helper_collection(){
+ return *this;
+ }
// account for bogus gcc warning
#if defined(__GNUC__)
virtual
#endif
- ~basic_oarchive();
+ BOOST_ARCHIVE_DECL ~basic_oarchive();
public:
// note: NOT part of the public interface
- void register_basic_serializer(
+ BOOST_ARCHIVE_DECL void register_basic_serializer(
const basic_oserializer & bos
);
- void save_object(
+ BOOST_ARCHIVE_DECL void save_object(
const void *x,
const basic_oserializer & bos
);
- void save_pointer(
+ BOOST_ARCHIVE_DECL void save_pointer(
const void * t,
const basic_pointer_oserializer * bpos_ptr
);
@@ -82,9 +86,9 @@ public:
vsave(NULL_POINTER_TAG);
}
// real public interface starts here
- void end_preamble(); // default implementation does nothing
- library_version_type get_library_version() const;
- unsigned int get_flags() const;
+ BOOST_ARCHIVE_DECL void end_preamble(); // default implementation does nothing
+ BOOST_ARCHIVE_DECL library_version_type get_library_version() const;
+ BOOST_ARCHIVE_DECL unsigned int get_flags() const;
};
} // namespace detail
diff --git a/boost/archive/detail/basic_oserializer.hpp b/boost/archive/detail/basic_oserializer.hpp
index 6ae063f..7a710ba 100644
--- a/boost/archive/detail/basic_oserializer.hpp
+++ b/boost/archive/detail/basic_oserializer.hpp
@@ -40,23 +40,23 @@ namespace serialization {
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oarchive;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer;
+class basic_oarchive;
+class basic_pointer_oserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oserializer :
+class BOOST_SYMBOL_VISIBLE basic_oserializer :
public basic_serializer
{
private:
basic_pointer_oserializer *m_bpos;
protected:
- explicit basic_oserializer(
+ explicit BOOST_ARCHIVE_DECL basic_oserializer(
const boost::serialization::extended_type_info & type_
);
// account for bogus gcc warning
#if defined(__GNUC__)
virtual
#endif
- ~basic_oserializer();
+ BOOST_ARCHIVE_DECL ~basic_oserializer();
public:
bool serialized_as_pointer() const {
return m_bpos != NULL;
diff --git a/boost/archive/detail/basic_pointer_iserializer.hpp b/boost/archive/detail/basic_pointer_iserializer.hpp
index 86badc1..23b9f90 100644
--- a/boost/archive/detail/basic_pointer_iserializer.hpp
+++ b/boost/archive/detail/basic_pointer_iserializer.hpp
@@ -37,20 +37,20 @@ namespace serialization {
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iarchive;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iserializer;
+class basic_iarchive;
+class basic_iserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer
+class BOOST_SYMBOL_VISIBLE basic_pointer_iserializer
: public basic_serializer {
protected:
- explicit basic_pointer_iserializer(
+ explicit BOOST_ARCHIVE_DECL basic_pointer_iserializer(
const boost::serialization::extended_type_info & type_
);
// account for bogus gcc warning
#if defined(__GNUC__)
virtual
#endif
- ~basic_pointer_iserializer();
+ BOOST_ARCHIVE_DECL ~basic_pointer_iserializer();
public:
virtual void * heap_allocation() const = 0;
virtual const basic_iserializer & get_basic_serializer() const = 0;
diff --git a/boost/archive/detail/basic_pointer_oserializer.hpp b/boost/archive/detail/basic_pointer_oserializer.hpp
index bafc46a..868e2fa 100644
--- a/boost/archive/detail/basic_pointer_oserializer.hpp
+++ b/boost/archive/detail/basic_pointer_oserializer.hpp
@@ -36,14 +36,14 @@ namespace serialization {
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oarchive;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oserializer;
+class basic_oarchive;
+class basic_oserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer :
+class BOOST_SYMBOL_VISIBLE basic_pointer_oserializer :
public basic_serializer
{
protected:
- explicit basic_pointer_oserializer(
+ explicit BOOST_ARCHIVE_DECL basic_pointer_oserializer(
const boost::serialization::extended_type_info & type_
);
public:
@@ -51,7 +51,7 @@ public:
#if defined(__GNUC__)
virtual
#endif
- ~basic_pointer_oserializer();
+ BOOST_ARCHIVE_DECL ~basic_pointer_oserializer();
virtual const basic_oserializer & get_basic_serializer() const = 0;
virtual void save_object_ptr(
basic_oarchive & ar,
diff --git a/boost/archive/detail/basic_serializer_map.hpp b/boost/archive/detail/basic_serializer_map.hpp
index 202c20e..7934180 100644
--- a/boost/archive/detail/basic_serializer_map.hpp
+++ b/boost/archive/detail/basic_serializer_map.hpp
@@ -34,7 +34,7 @@ namespace detail {
class basic_serializer;
-class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+class BOOST_SYMBOL_VISIBLE
basic_serializer_map : public
boost::noncopyable
{
@@ -50,9 +50,9 @@ basic_serializer_map : public
> map_type;
map_type m_map;
public:
- bool insert(const basic_serializer * bs);
- void erase(const basic_serializer * bs);
- const basic_serializer * find(
+ BOOST_ARCHIVE_DECL bool insert(const basic_serializer * bs);
+ BOOST_ARCHIVE_DECL void erase(const basic_serializer * bs);
+ BOOST_ARCHIVE_DECL const basic_serializer * find(
const boost::serialization::extended_type_info & type_
) const;
private:
diff --git a/boost/archive/detail/common_iarchive.hpp b/boost/archive/detail/common_iarchive.hpp
index 45e6d34..b4c44d2 100644
--- a/boost/archive/detail/common_iarchive.hpp
+++ b/boost/archive/detail/common_iarchive.hpp
@@ -62,7 +62,7 @@ private:
protected:
// default processing - invoke serialization library
template<class T>
- void load_override(T & t, BOOST_PFTO int){
+ void load_override(T & t){
archive::load(* this->This(), t);
}
// default implementations of functions which emit start/end tags for
diff --git a/boost/archive/detail/common_oarchive.hpp b/boost/archive/detail/common_oarchive.hpp
index 0d7474b..13c71bc 100644
--- a/boost/archive/detail/common_oarchive.hpp
+++ b/boost/archive/detail/common_oarchive.hpp
@@ -65,7 +65,7 @@ private:
protected:
// default processing - invoke serialization library
template<class T>
- void save_override(T & t, BOOST_PFTO int){
+ void save_override(T & t){
archive::save(* this->This(), t);
}
void save_start(const char * /*name*/){}
diff --git a/boost/archive/detail/decl.hpp b/boost/archive/detail/decl.hpp
index 44e22be..bb386d8 100644
--- a/boost/archive/detail/decl.hpp
+++ b/boost/archive/detail/decl.hpp
@@ -22,58 +22,38 @@
// http://www.boost.org/more/separate_compilation.html
#include <boost/config.hpp>
-#include <boost/preprocessor/facilities/empty.hpp>
-#if defined(BOOST_HAS_DECLSPEC)
- #if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
- #if defined(BOOST_ARCHIVE_SOURCE)
- #if defined(__BORLANDC__)
- #define BOOST_ARCHIVE_DECL(T) T __export
- #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
- #else
- #define BOOST_ARCHIVE_DECL(T) __declspec(dllexport) T
- #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
- #endif
- #else
- #if defined(__BORLANDC__)
- #define BOOST_ARCHIVE_DECL(T) T __import
- #else
- #define BOOST_ARCHIVE_DECL(T) __declspec(dllimport) T
- #endif
- #endif
- #if defined(BOOST_WARCHIVE_SOURCE)
- #if defined(__BORLANDC__)
- #define BOOST_WARCHIVE_DECL(T) T __export
- #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __export
- #else
- #define BOOST_WARCHIVE_DECL(T) __declspec(dllexport) T
- #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllexport) T
- #endif
- #else
- #if defined(__BORLANDC__)
- #define BOOST_WARCHIVE_DECL(T) T __import
- #else
- #define BOOST_WARCHIVE_DECL(T) __declspec(dllimport) T
- #endif
- #endif
- #if !defined(BOOST_WARCHIVE_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
- #if defined(__BORLANDC__)
- #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T __import
- #else
- #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) __declspec(dllimport) T
- #endif
- #endif
+#if (defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SERIALIZATION_DYN_LINK))
+ #if defined(BOOST_ARCHIVE_SOURCE)
+ #define BOOST_ARCHIVE_DECL BOOST_SYMBOL_EXPORT
+ #else
+ #define BOOST_ARCHIVE_DECL BOOST_SYMBOL_IMPORT
#endif
-#endif // BOOST_HAS_DECLSPEC
+ #if defined(BOOST_WARCHIVE_SOURCE)
+ #define BOOST_WARCHIVE_DECL BOOST_SYMBOL_EXPORT
+ #else
+ #define BOOST_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
+ #endif
+ #if !defined(BOOST_WARCHIVE_SOURCE) && !defined(BOOST_ARCHIVE_SOURCE)
+ #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
+ #endif
+
+ #if defined(BOOST_WARCHIVE_SOURCE) || defined(BOOST_ARCHIVE_SOURCE)
+ #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_EXPORT
+ #else
+ #define BOOST_ARCHIVE_OR_WARCHIVE_DECL BOOST_SYMBOL_IMPORT
+ #endif
+
+#endif
#if ! defined(BOOST_ARCHIVE_DECL)
- #define BOOST_ARCHIVE_DECL(T) T
+ #define BOOST_ARCHIVE_DECL
#endif
#if ! defined(BOOST_WARCHIVE_DECL)
- #define BOOST_WARCHIVE_DECL(T) T
+ #define BOOST_WARCHIVE_DECL
#endif
#if ! defined(BOOST_ARCHIVE_OR_WARCHIVE_DECL)
- #define BOOST_ARCHIVE_OR_WARCHIVE_DECL(T) T
+ #define BOOST_ARCHIVE_OR_WARCHIVE_DECL
#endif
#endif // BOOST_ARCHIVE_DETAIL_DECL_HPP
diff --git a/boost/archive/detail/helper_collection.hpp b/boost/archive/detail/helper_collection.hpp
index cfa644f..edb4125 100644
--- a/boost/archive/detail/helper_collection.hpp
+++ b/boost/archive/detail/helper_collection.hpp
@@ -55,11 +55,12 @@ class helper_collection
collection m_collection;
struct predicate {
+ BOOST_DELETED_FUNCTION(predicate & operator=(const predicate & rhs))
+ public:
const void * const m_ti;
bool operator()(helper_value_type const &rhs) const {
return m_ti == rhs.first;
}
- predicate & operator=(const void * ti); // to suppress warning
predicate(const void * ti) :
m_ti(ti)
{}
@@ -69,7 +70,7 @@ protected:
~helper_collection(){}
public:
template<typename Helper>
- Helper& get_helper(void * const id = 0) {
+ Helper& find_helper(void * const id = 0) {
collection::const_iterator it =
std::find_if(
m_collection.begin(),
diff --git a/boost/archive/detail/interface_iarchive.hpp b/boost/archive/detail/interface_iarchive.hpp
index b7bd165..4a99e28 100644
--- a/boost/archive/detail/interface_iarchive.hpp
+++ b/boost/archive/detail/interface_iarchive.hpp
@@ -20,6 +20,7 @@
#include <boost/mpl/bool.hpp>
#include <boost/archive/detail/auto_link_archive.hpp>
#include <boost/archive/detail/iserializer.hpp>
+#include <boost/archive/detail/helper_collection.hpp>
#include <boost/serialization/singleton.hpp>
#include <boost/archive/detail/abi_prefix.hpp> // must be the last header
@@ -27,7 +28,7 @@ namespace boost {
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer;
+class basic_pointer_iserializer;
template<class Archive>
class interface_iarchive
@@ -55,9 +56,16 @@ public:
this->This()->register_basic_serializer(bpis.get_basic_serializer());
return & bpis;
}
+ template<class Helper>
+ Helper &
+ get_helper(void * const id = 0){
+ helper_collection & hc = this->This()->get_helper_collection();
+ return hc.template find_helper<Helper>(id);
+ }
+
template<class T>
Archive & operator>>(T & t){
- this->This()->load_override(t, 0);
+ this->This()->load_override(t);
return * this->This();
}
diff --git a/boost/archive/detail/interface_oarchive.hpp b/boost/archive/detail/interface_oarchive.hpp
index 7ae7176..187013b 100644
--- a/boost/archive/detail/interface_oarchive.hpp
+++ b/boost/archive/detail/interface_oarchive.hpp
@@ -29,7 +29,7 @@ namespace boost {
namespace archive {
namespace detail {
-class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer;
+class BOOST_ARCHIVE_OR_WARCHIVE_DECL basic_pointer_oserializer;
template<class Archive>
class interface_oarchive
@@ -57,22 +57,25 @@ public:
this->This()->register_basic_serializer(bpos.get_basic_serializer());
return & bpos;
}
+
+ template<class Helper>
+ Helper &
+ get_helper(void * const id = 0){
+ helper_collection & hc = this->This()->get_helper_collection();
+ return hc.template find_helper<Helper>(id);
+ }
template<class T>
- Archive & operator<<(T & t){
- this->This()->save_override(t, 0);
+ Archive & operator<<(const T & t){
+ this->This()->save_override(t);
return * this->This();
}
// the & operator
template<class T>
- Archive & operator&(T & t){
- #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
- return * this->This() << const_cast<const T &>(t);
- #else
- return * this->This() << t;
- #endif
- }
+ Archive & operator&(const T & t){
+ return * this ->This() << t;
+ };
};
} // namespace detail
diff --git a/boost/archive/detail/iserializer.hpp b/boost/archive/detail/iserializer.hpp
index 65dfe8e..d6d3f42 100644
--- a/boost/archive/detail/iserializer.hpp
+++ b/boost/archive/detail/iserializer.hpp
@@ -58,8 +58,7 @@ namespace std{
#include <boost/serialization/assume_abstract.hpp>
#define DONT_USE_HAS_NEW_OPERATOR ( \
- defined(__BORLANDC__) \
- || BOOST_WORKAROUND(__IBMCPP__, < 1210) \
+ BOOST_WORKAROUND(__IBMCPP__, < 1210) \
|| defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x590) \
)
#if ! DONT_USE_HAS_NEW_OPERATOR
@@ -618,40 +617,6 @@ inline void load(Archive & ar, T &t){
typex::invoke(ar, t);
}
-#if 0
-
-// BORLAND
-#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x560))
-// borland has a couple of problems
-// a) if function is partially specialized - see below
-// const paramters are transformed to non-const ones
-// b) implementation of base_object can't be made to work
-// correctly which results in all base_object s being const.
-// So, strip off the const for borland. This breaks the trap
-// for loading const objects - but I see no alternative
-template<class Archive, class T>
-inline void load(Archive &ar, const T & t){
- load(ar, const_cast<T &>(t));
-}
-#endif
-
-// let wrappers through.
-#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
-template<class Archive, class T>
-inline void load_wrapper(Archive &ar, const T&t, mpl::true_){
- boost::archive::load(ar, const_cast<T&>(t));
-}
-
-#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x560))
-template<class Archive, class T>
-inline void load(Archive &ar, const T&t){
- load_wrapper(ar,t,serialization::is_wrapper< T >());
-}
-#endif
-#endif
-
-#endif
-
} // namespace archive
} // namespace boost
diff --git a/boost/archive/detail/polymorphic_iarchive_route.hpp b/boost/archive/detail/polymorphic_iarchive_route.hpp
index a8eb7aa..2c57a3f 100644
--- a/boost/archive/detail/polymorphic_iarchive_route.hpp
+++ b/boost/archive/detail/polymorphic_iarchive_route.hpp
@@ -39,8 +39,8 @@ namespace serialization {
namespace archive {
namespace detail{
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_iserializer;
+class BOOST_ARCHIVE_DECL basic_iserializer;
+class BOOST_ARCHIVE_DECL basic_pointer_iserializer;
#ifdef BOOST_MSVC
# pragma warning(push)
@@ -166,10 +166,13 @@ private:
virtual void load_end(const char * name){
ArchiveImplementation::load_end(name);
}
-
virtual void register_basic_serializer(const basic_iserializer & bis){
ArchiveImplementation::register_basic_serializer(bis);
}
+ virtual helper_collection &
+ get_helper_collection(){
+ return ArchiveImplementation::get_helper_collection();
+ }
public:
// this can't be inheriteded because they appear in mulitple
// parents
diff --git a/boost/archive/detail/polymorphic_oarchive_route.hpp b/boost/archive/detail/polymorphic_oarchive_route.hpp
index 9211df2..ae75013 100644
--- a/boost/archive/detail/polymorphic_oarchive_route.hpp
+++ b/boost/archive/detail/polymorphic_oarchive_route.hpp
@@ -39,8 +39,8 @@ namespace serialization {
namespace archive {
namespace detail{
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oserializer;
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_pointer_oserializer;
+class BOOST_ARCHIVE_DECL basic_oserializer;
+class BOOST_ARCHIVE_DECL basic_pointer_oserializer;
#ifdef BOOST_MSVC
# pragma warning(push)
@@ -160,6 +160,10 @@ private:
virtual void register_basic_serializer(const detail::basic_oserializer & bos){
ArchiveImplementation::register_basic_serializer(bos);
}
+ virtual helper_collection &
+ get_helper_collection(){
+ return ArchiveImplementation::get_helper_collection();
+ }
public:
// this can't be inheriteded because they appear in mulitple
// parents
diff --git a/boost/archive/impl/archive_serializer_map.ipp b/boost/archive/impl/archive_serializer_map.ipp
index c8ad96b..8dabf0d 100644
--- a/boost/archive/impl/archive_serializer_map.ipp
+++ b/boost/archive/impl/archive_serializer_map.ipp
@@ -37,7 +37,7 @@ namespace extra_detail { // anon
#endif
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(bool)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL bool
archive_serializer_map<Archive>::insert(const basic_serializer * bs){
return boost::serialization::singleton<
extra_detail::map<Archive>
@@ -45,7 +45,7 @@ archive_serializer_map<Archive>::insert(const basic_serializer * bs){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
archive_serializer_map<Archive>::erase(const basic_serializer * bs){
if(boost::serialization::singleton<
extra_detail::map<Archive>
@@ -57,7 +57,7 @@ archive_serializer_map<Archive>::erase(const basic_serializer * bs){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(const basic_serializer *)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL const basic_serializer *
archive_serializer_map<Archive>::find(
const boost::serialization::extended_type_info & eti
) {
diff --git a/boost/archive/impl/basic_binary_iarchive.ipp b/boost/archive/impl/basic_binary_iarchive.ipp
index 5067b09..d5619ab 100644
--- a/boost/archive/impl/basic_binary_iarchive.ipp
+++ b/boost/archive/impl/basic_binary_iarchive.ipp
@@ -32,11 +32,11 @@ namespace archive {
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// implementation of binary_binary_archive
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_binary_iarchive<Archive>::load_override(class_name_type & t, int){
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_binary_iarchive<Archive>::load_override(class_name_type & t){
std::string cn;
cn.reserve(BOOST_SERIALIZATION_MAX_KEY_SIZE);
- load_override(cn, 0);
+ load_override(cn);
if(cn.size() > (BOOST_SERIALIZATION_MAX_KEY_SIZE - 1))
boost::serialization::throw_exception(
archive_exception(archive_exception::invalid_class_name)
@@ -47,8 +47,8 @@ basic_binary_iarchive<Archive>::load_override(class_name_type & t, int){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_binary_iarchive<Archive>::init(){
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_binary_iarchive<Archive>::init(void){
// read signature in an archive version independent manner
std::string file_signature;
diff --git a/boost/archive/impl/basic_binary_iprimitive.ipp b/boost/archive/impl/basic_binary_iprimitive.ipp
index e22c3bd..bee7baf 100644
--- a/boost/archive/impl/basic_binary_iprimitive.ipp
+++ b/boost/archive/impl/basic_binary_iprimitive.ipp
@@ -37,7 +37,7 @@ namespace archive {
// implementation of basic_binary_iprimitive
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_iprimitive<Archive, Elem, Tr>::init()
{
// Detect attempts to pass native binary archives across
@@ -90,7 +90,7 @@ basic_binary_iprimitive<Archive, Elem, Tr>::init()
}
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_iprimitive<Archive, Elem, Tr>::load(wchar_t * ws)
{
std::size_t l; // number of wchar_t !!!
@@ -100,7 +100,7 @@ basic_binary_iprimitive<Archive, Elem, Tr>::load(wchar_t * ws)
}
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_iprimitive<Archive, Elem, Tr>::load(std::string & s)
{
std::size_t l;
@@ -117,7 +117,7 @@ basic_binary_iprimitive<Archive, Elem, Tr>::load(std::string & s)
#ifndef BOOST_NO_CWCHAR
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_iprimitive<Archive, Elem, Tr>::load(char * s)
{
std::size_t l;
@@ -129,7 +129,7 @@ basic_binary_iprimitive<Archive, Elem, Tr>::load(char * s)
#ifndef BOOST_NO_STD_WSTRING
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_iprimitive<Archive, Elem, Tr>::load(std::wstring & ws)
{
std::size_t l;
@@ -145,7 +145,7 @@ basic_binary_iprimitive<Archive, Elem, Tr>::load(std::wstring & ws)
#endif
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_binary_iprimitive<Archive, Elem, Tr>::basic_binary_iprimitive(
std::basic_streambuf<Elem, Tr> & sb,
bool no_codecvt
@@ -194,7 +194,7 @@ class input_streambuf_access : public std::basic_streambuf<Elem, Tr> {
// scoped_ptr requires that archive_locale be a complete type at time of
// destruction so define destructor here rather than in the header
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_binary_iprimitive<Archive, Elem, Tr>::~basic_binary_iprimitive(){
// push back unread characters
//destructor can't throw !
diff --git a/boost/archive/impl/basic_binary_oarchive.ipp b/boost/archive/impl/basic_binary_oarchive.ipp
index 467fd6f..d5a019d 100644
--- a/boost/archive/impl/basic_binary_oarchive.ipp
+++ b/boost/archive/impl/basic_binary_oarchive.ipp
@@ -28,11 +28,7 @@ namespace archive {
// implementation of binary_binary_oarchive
template<class Archive>
-#if !defined(__BORLANDC__)
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-#else
-void
-#endif
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_oarchive<Archive>::init(){
// write signature in an archive version independent manner
const std::string file_signature(BOOST_ARCHIVE_SIGNATURE());
diff --git a/boost/archive/impl/basic_binary_oprimitive.ipp b/boost/archive/impl/basic_binary_oprimitive.ipp
index 238617d..88cc124 100644
--- a/boost/archive/impl/basic_binary_oprimitive.ipp
+++ b/boost/archive/impl/basic_binary_oprimitive.ipp
@@ -41,7 +41,7 @@ namespace archive {
// implementation of basic_binary_oprimitive
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_oprimitive<Archive, Elem, Tr>::init()
{
// record native sizes of fundamental types
@@ -57,7 +57,7 @@ basic_binary_oprimitive<Archive, Elem, Tr>::init()
}
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_oprimitive<Archive, Elem, Tr>::save(const char * s)
{
std::size_t l = std::strlen(s);
@@ -66,7 +66,7 @@ basic_binary_oprimitive<Archive, Elem, Tr>::save(const char * s)
}
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_oprimitive<Archive, Elem, Tr>::save(const std::string &s)
{
std::size_t l = static_cast<std::size_t>(s.size());
@@ -76,7 +76,7 @@ basic_binary_oprimitive<Archive, Elem, Tr>::save(const std::string &s)
#ifndef BOOST_NO_CWCHAR
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_oprimitive<Archive, Elem, Tr>::save(const wchar_t * ws)
{
std::size_t l = std::wcslen(ws);
@@ -87,7 +87,7 @@ basic_binary_oprimitive<Archive, Elem, Tr>::save(const wchar_t * ws)
#ifndef BOOST_NO_STD_WSTRING
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_binary_oprimitive<Archive, Elem, Tr>::save(const std::wstring &ws)
{
std::size_t l = ws.size();
@@ -97,7 +97,7 @@ basic_binary_oprimitive<Archive, Elem, Tr>::save(const std::wstring &ws)
#endif
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_binary_oprimitive<Archive, Elem, Tr>::basic_binary_oprimitive(
std::basic_streambuf<Elem, Tr> & sb,
bool no_codecvt
@@ -146,7 +146,7 @@ class output_streambuf_access : public std::basic_streambuf<Elem, Tr> {
// scoped_ptr requires that g be a complete type at time of
// destruction so define destructor here rather than in the header
template<class Archive, class Elem, class Tr>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_binary_oprimitive<Archive, Elem, Tr>::~basic_binary_oprimitive(){
// flush buffer
//destructor can't throw
diff --git a/boost/archive/impl/basic_text_iarchive.ipp b/boost/archive/impl/basic_text_iarchive.ipp
index 8d364f9..9ec8c65 100644
--- a/boost/archive/impl/basic_text_iarchive.ipp
+++ b/boost/archive/impl/basic_text_iarchive.ipp
@@ -29,11 +29,11 @@ namespace archive {
// implementation of text_text_archive
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_text_iarchive<Archive>::load_override(class_name_type & t, int){
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_text_iarchive<Archive>::load_override(class_name_type & t){
std::string cn;
cn.reserve(BOOST_SERIALIZATION_MAX_KEY_SIZE);
- load_override(cn, 0);
+ load_override(cn);
if(cn.size() > (BOOST_SERIALIZATION_MAX_KEY_SIZE - 1))
boost::serialization::throw_exception(
archive_exception(archive_exception::invalid_class_name)
@@ -44,7 +44,7 @@ basic_text_iarchive<Archive>::load_override(class_name_type & t, int){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_text_iarchive<Archive>::init(void){
// read signature in an archive version independent manner
std::string file_signature;
diff --git a/boost/archive/impl/basic_text_iprimitive.ipp b/boost/archive/impl/basic_text_iprimitive.ipp
index 9b66789..e245dc5 100644
--- a/boost/archive/impl/basic_text_iprimitive.ipp
+++ b/boost/archive/impl/basic_text_iprimitive.ipp
@@ -19,7 +19,6 @@ namespace std{
#endif
#include <boost/serialization/throw_exception.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/basic_text_iprimitive.hpp>
#include <boost/archive/codecvt_null.hpp>
@@ -53,7 +52,7 @@ namespace detail {
// translate base64 text into binary and copy into buffer
// until buffer is full.
template<class IStream>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_text_iprimitive<IStream>::load_binary(
void *address,
std::size_t count
@@ -87,11 +86,7 @@ basic_text_iprimitive<IStream>::load_binary(
>
binary;
- binary i = binary(
- BOOST_MAKE_PFTO_WRAPPER(
- iterators::istream_iterator<CharType>(is)
- )
- );
+ binary i = binary(iterators::istream_iterator<CharType>(is));
char * caddr = static_cast<char *>(address);
@@ -112,7 +107,7 @@ basic_text_iprimitive<IStream>::load_binary(
}
template<class IStream>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_text_iprimitive<IStream>::basic_text_iprimitive(
IStream &is_,
bool no_codecvt
@@ -142,7 +137,7 @@ basic_text_iprimitive<IStream>::basic_text_iprimitive(
#endif
template<class IStream>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_text_iprimitive<IStream>::~basic_text_iprimitive(){
is.sync();
}
diff --git a/boost/archive/impl/basic_text_oarchive.ipp b/boost/archive/impl/basic_text_oarchive.ipp
index 4170c97..44bc140 100644
--- a/boost/archive/impl/basic_text_oarchive.ipp
+++ b/boost/archive/impl/basic_text_oarchive.ipp
@@ -27,7 +27,7 @@ namespace archive {
// implementation of basic_text_oarchive
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_text_oarchive<Archive>::newtoken()
{
switch(delimiter){
@@ -48,7 +48,7 @@ basic_text_oarchive<Archive>::newtoken()
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_text_oarchive<Archive>::init(){
// write signature in an archive version independent manner
const std::string file_signature(BOOST_ARCHIVE_SIGNATURE());
diff --git a/boost/archive/impl/basic_text_oprimitive.ipp b/boost/archive/impl/basic_text_oprimitive.ipp
index 10e2133..f2b0a10 100644
--- a/boost/archive/impl/basic_text_oprimitive.ipp
+++ b/boost/archive/impl/basic_text_oprimitive.ipp
@@ -10,7 +10,6 @@
#include <cstddef> // NULL
#include <algorithm> // std::copy
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/basic_text_oprimitive.hpp>
#include <boost/archive/codecvt_null.hpp>
@@ -26,7 +25,7 @@ namespace archive {
// translate to base64 and copy in to buffer.
template<class OStream>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_text_oprimitive<OStream>::save_binary(
const void *address,
std::size_t count
@@ -59,9 +58,9 @@ basic_text_oprimitive<OStream>::save_binary(
boost::archive::iterators::ostream_iterator<CharType> oi(os);
std::copy(
- base64_text(BOOST_MAKE_PFTO_WRAPPER(static_cast<const char *>(address))),
+ base64_text(static_cast<const char *>(address)),
base64_text(
- BOOST_MAKE_PFTO_WRAPPER(static_cast<const char *>(address) + count)
+ static_cast<const char *>(address) + count
),
oi
);
@@ -75,7 +74,7 @@ basic_text_oprimitive<OStream>::save_binary(
}
template<class OStream>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_text_oprimitive<OStream>::basic_text_oprimitive(
OStream & os_,
bool no_codecvt
@@ -105,7 +104,7 @@ basic_text_oprimitive<OStream>::basic_text_oprimitive(
#endif
template<class OStream>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_text_oprimitive<OStream>::~basic_text_oprimitive(){
os << std::endl;
}
diff --git a/boost/archive/impl/basic_xml_grammar.hpp b/boost/archive/impl/basic_xml_grammar.hpp
index 66ca1f0..70a6013 100644
--- a/boost/archive/impl/basic_xml_grammar.hpp
+++ b/boost/archive/impl/basic_xml_grammar.hpp
@@ -72,14 +72,14 @@ public:
friend struct return_values;
private:
- typedef BOOST_DEDUCED_TYPENAME std::basic_istream<CharType> IStream;
- typedef BOOST_DEDUCED_TYPENAME std::basic_string<CharType> StringType;
- typedef BOOST_DEDUCED_TYPENAME boost::spirit::classic::chset<CharType> chset_t;
- typedef BOOST_DEDUCED_TYPENAME boost::spirit::classic::chlit<CharType> chlit_t;
- typedef BOOST_DEDUCED_TYPENAME boost::spirit::classic::scanner<
- BOOST_DEDUCED_TYPENAME std::basic_string<CharType>::iterator
+ typedef typename std::basic_istream<CharType> IStream;
+ typedef typename std::basic_string<CharType> StringType;
+ typedef typename boost::spirit::classic::chset<CharType> chset_t;
+ typedef typename boost::spirit::classic::chlit<CharType> chlit_t;
+ typedef typename boost::spirit::classic::scanner<
+ typename std::basic_string<CharType>::iterator
> scanner_t;
- typedef BOOST_DEDUCED_TYPENAME boost::spirit::classic::rule<scanner_t> rule_t;
+ typedef typename boost::spirit::classic::rule<scanner_t> rule_t;
// Start grammar definition
rule_t
Reference,
diff --git a/boost/archive/impl/basic_xml_iarchive.ipp b/boost/archive/impl/basic_xml_iarchive.ipp
index 52dfde1..9e67012 100644
--- a/boost/archive/impl/basic_xml_iarchive.ipp
+++ b/boost/archive/impl/basic_xml_iarchive.ipp
@@ -24,7 +24,7 @@ namespace archive {
// implementation of xml_text_archive
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_iarchive<Archive>::load_start(const char *name){
// if there's no name
if(NULL == name)
@@ -41,7 +41,7 @@ basic_xml_iarchive<Archive>::load_start(const char *name){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_iarchive<Archive>::load_end(const char *name){
// if there's no name
if(NULL == name)
@@ -77,37 +77,37 @@ basic_xml_iarchive<Archive>::load_end(const char *name){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_iarchive<Archive>::load_override(object_id_type & t, int){
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_iarchive<Archive>::load_override(object_id_type & t){
t = object_id_type(this->This()->gimpl->rv.object_id);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_iarchive<Archive>::load_override(version_type & t, int){
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_iarchive<Archive>::load_override(version_type & t){
t = version_type(this->This()->gimpl->rv.version);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_iarchive<Archive>::load_override(class_id_type & t, int){
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_iarchive<Archive>::load_override(class_id_type & t){
t = class_id_type(this->This()->gimpl->rv.class_id);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_iarchive<Archive>::load_override(tracking_type & t, int){
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_iarchive<Archive>::load_override(tracking_type & t){
t = this->This()->gimpl->rv.tracking_level;
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_xml_iarchive<Archive>::basic_xml_iarchive(unsigned int flags) :
detail::common_iarchive<Archive>(flags),
depth(0)
{}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_xml_iarchive<Archive>::~basic_xml_iarchive(){}
} // namespace archive
diff --git a/boost/archive/impl/basic_xml_oarchive.ipp b/boost/archive/impl/basic_xml_oarchive.ipp
index 0c57a12..5db1e13 100644
--- a/boost/archive/impl/basic_xml_oarchive.ipp
+++ b/boost/archive/impl/basic_xml_oarchive.ipp
@@ -58,7 +58,7 @@ struct XML_name {
// implemenations of functions common to both types of xml output
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::write_attribute(
const char *attribute_name,
int t,
@@ -72,7 +72,7 @@ basic_xml_oarchive<Archive>::write_attribute(
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::write_attribute(
const char *attribute_name,
const char *key
@@ -85,7 +85,7 @@ basic_xml_oarchive<Archive>::write_attribute(
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::indent(){
int i;
for(i = depth; i-- > 0;)
@@ -93,7 +93,7 @@ basic_xml_oarchive<Archive>::indent(){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::save_start(const char *name)
{
if(NULL == name)
@@ -115,7 +115,7 @@ basic_xml_oarchive<Archive>::save_start(const char *name)
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::save_end(const char *name)
{
if(NULL == name)
@@ -139,7 +139,7 @@ basic_xml_oarchive<Archive>::save_end(const char *name)
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::end_preamble(){
if(pending_preamble){
this->This()->put('>');
@@ -148,14 +148,14 @@ basic_xml_oarchive<Archive>::end_preamble(){
}
#if 0
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_oarchive<Archive>::save_override(const object_id_type & t, int)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_oarchive<Archive>::save_override(const object_id_type & t)
{
int i = t.t; // extra .t is for borland
write_attribute(BOOST_ARCHIVE_XML_OBJECT_ID(), i, "=\"_");
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::save_override(
const object_reference_type & t,
int
@@ -164,8 +164,8 @@ basic_xml_oarchive<Archive>::save_override(
write_attribute(BOOST_ARCHIVE_XML_OBJECT_REFERENCE(), i, "=\"_");
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_oarchive<Archive>::save_override(const version_type & t, int)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_oarchive<Archive>::save_override(const version_type & t)
{
int i = t.t; // extra .t is for borland
write_attribute(BOOST_ARCHIVE_XML_VERSION(), i);
@@ -173,55 +173,52 @@ basic_xml_oarchive<Archive>::save_override(const version_type & t, int)
#endif
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_oarchive<Archive>::save_override(const object_id_type & t, int)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_oarchive<Archive>::save_override(const object_id_type & t)
{
// borland doesn't do conversion of STRONG_TYPEDEFs very well
const unsigned int i = t;
write_attribute(BOOST_ARCHIVE_XML_OBJECT_ID(), i, "=\"_");
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::save_override(
- const object_reference_type & t,
- int
+ const object_reference_type & t
){
const unsigned int i = t;
write_attribute(BOOST_ARCHIVE_XML_OBJECT_REFERENCE(), i, "=\"_");
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_oarchive<Archive>::save_override(const version_type & t, int)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_oarchive<Archive>::save_override(const version_type & t)
{
const unsigned int i = t;
write_attribute(BOOST_ARCHIVE_XML_VERSION(), i);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_oarchive<Archive>::save_override(const class_id_type & t, int)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_oarchive<Archive>::save_override(const class_id_type & t)
{
write_attribute(BOOST_ARCHIVE_XML_CLASS_ID(), t);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::save_override(
- const class_id_reference_type & t,
- int
+ const class_id_reference_type & t
){
write_attribute(BOOST_ARCHIVE_XML_CLASS_ID_REFERENCE(), t);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::save_override(
- const class_id_optional_type & t,
- int
+ const class_id_optional_type & t
){
write_attribute(BOOST_ARCHIVE_XML_CLASS_ID(), t);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_oarchive<Archive>::save_override(const class_name_type & t, int)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_oarchive<Archive>::save_override(const class_name_type & t)
{
const char * key = t;
if(NULL == key)
@@ -230,14 +227,14 @@ basic_xml_oarchive<Archive>::save_override(const class_name_type & t, int)
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
-basic_xml_oarchive<Archive>::save_override(const tracking_type & t, int)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
+basic_xml_oarchive<Archive>::save_override(const tracking_type & t)
{
write_attribute(BOOST_ARCHIVE_XML_TRACKING(), t.t);
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(void)
+BOOST_ARCHIVE_OR_WARCHIVE_DECL void
basic_xml_oarchive<Archive>::init(){
// xml header
this->This()->put("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?>\n");
@@ -250,7 +247,7 @@ basic_xml_oarchive<Archive>::init(){
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_xml_oarchive<Archive>::basic_xml_oarchive(unsigned int flags) :
detail::common_oarchive<Archive>(flags),
depth(0),
@@ -260,7 +257,7 @@ basic_xml_oarchive<Archive>::basic_xml_oarchive(unsigned int flags) :
}
template<class Archive>
-BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_OR_WARCHIVE_DECL
basic_xml_oarchive<Archive>::~basic_xml_oarchive(){
if(0 == (this->get_flags() & no_header)){
BOOST_TRY{
diff --git a/boost/archive/impl/text_iarchive_impl.ipp b/boost/archive/impl/text_iarchive_impl.ipp
index f14c0d8..ae4e275 100644
--- a/boost/archive/impl/text_iarchive_impl.ipp
+++ b/boost/archive/impl/text_iarchive_impl.ipp
@@ -28,7 +28,7 @@ namespace boost {
namespace archive {
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_iarchive_impl<Archive>::load(char *s)
{
std::size_t size;
@@ -41,7 +41,7 @@ text_iarchive_impl<Archive>::load(char *s)
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_iarchive_impl<Archive>::load(std::string &s)
{
std::size_t size;
@@ -60,7 +60,7 @@ text_iarchive_impl<Archive>::load(std::string &s)
#ifndef BOOST_NO_CWCHAR
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_iarchive_impl<Archive>::load(wchar_t *ws)
{
std::size_t size;
@@ -74,7 +74,7 @@ text_iarchive_impl<Archive>::load(wchar_t *ws)
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_iarchive_impl<Archive>::load(std::wstring &ws)
{
std::size_t size;
@@ -93,19 +93,19 @@ text_iarchive_impl<Archive>::load(std::wstring &ws)
#endif // BOOST_NO_CWCHAR
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
-text_iarchive_impl<Archive>::load_override(class_name_type & t, int){
- basic_text_iarchive<Archive>::load_override(t, 0);
+BOOST_ARCHIVE_DECL void
+text_iarchive_impl<Archive>::load_override(class_name_type & t){
+ basic_text_iarchive<Archive>::load_override(t);
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_iarchive_impl<Archive>::init(){
basic_text_iarchive<Archive>::init();
}
template<class Archive>
-BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_DECL
text_iarchive_impl<Archive>::text_iarchive_impl(
std::istream & is,
unsigned int flags
diff --git a/boost/archive/impl/text_oarchive_impl.ipp b/boost/archive/impl/text_oarchive_impl.ipp
index 2df0b46..4ff488f 100644
--- a/boost/archive/impl/text_oarchive_impl.ipp
+++ b/boost/archive/impl/text_oarchive_impl.ipp
@@ -38,7 +38,7 @@ namespace archive {
// of template parameters used to create a text_oprimitive
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_oarchive_impl<Archive>::save(const char * s)
{
const std::size_t len = std::ostream::traits_type::length(s);
@@ -48,7 +48,7 @@ text_oarchive_impl<Archive>::save(const char * s)
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_oarchive_impl<Archive>::save(const std::string &s)
{
const std::size_t size = s.size();
@@ -60,7 +60,7 @@ text_oarchive_impl<Archive>::save(const std::string &s)
#ifndef BOOST_NO_CWCHAR
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_oarchive_impl<Archive>::save(const wchar_t * ws)
{
const std::size_t l = std::wcslen(ws);
@@ -72,7 +72,7 @@ text_oarchive_impl<Archive>::save(const wchar_t * ws)
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_oarchive_impl<Archive>::save(const std::wstring &ws)
{
const std::size_t l = ws.size();
@@ -84,7 +84,7 @@ text_oarchive_impl<Archive>::save(const std::wstring &ws)
#endif // BOOST_NO_CWCHAR
template<class Archive>
-BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_DECL
text_oarchive_impl<Archive>::text_oarchive_impl(
std::ostream & os,
unsigned int flags
@@ -104,7 +104,7 @@ text_oarchive_impl<Archive>::text_oarchive_impl(
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
text_oarchive_impl<Archive>::save_binary(const void *address, std::size_t count){
put('\n');
this->end_preamble();
diff --git a/boost/archive/impl/text_wiarchive_impl.ipp b/boost/archive/impl/text_wiarchive_impl.ipp
index 6938c22..12af2b9 100644
--- a/boost/archive/impl/text_wiarchive_impl.ipp
+++ b/boost/archive/impl/text_wiarchive_impl.ipp
@@ -29,7 +29,7 @@ namespace archive {
// implementation of wiprimtives functions
//
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_wiarchive_impl<Archive>::load(char *s)
{
std::size_t size;
@@ -43,7 +43,7 @@ text_wiarchive_impl<Archive>::load(char *s)
}
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_wiarchive_impl<Archive>::load(std::string &s)
{
std::size_t size;
@@ -63,7 +63,7 @@ text_wiarchive_impl<Archive>::load(std::string &s)
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_wiarchive_impl<Archive>::load(wchar_t *s)
{
std::size_t size;
@@ -78,7 +78,7 @@ text_wiarchive_impl<Archive>::load(wchar_t *s)
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_wiarchive_impl<Archive>::load(std::wstring &ws)
{
std::size_t size;
@@ -97,7 +97,7 @@ text_wiarchive_impl<Archive>::load(std::wstring &ws)
#endif
template<class Archive>
-BOOST_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_WARCHIVE_DECL
text_wiarchive_impl<Archive>::text_wiarchive_impl(
std::wistream & is,
unsigned int flags
diff --git a/boost/archive/impl/text_woarchive_impl.ipp b/boost/archive/impl/text_woarchive_impl.ipp
index 6683f52..2b6d427 100644
--- a/boost/archive/impl/text_woarchive_impl.ipp
+++ b/boost/archive/impl/text_woarchive_impl.ipp
@@ -31,7 +31,7 @@ namespace archive {
// implementation of woarchive functions
//
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_woarchive_impl<Archive>::save(const char *s)
{
// note: superfluous local variable fixes borland warning
@@ -43,7 +43,7 @@ text_woarchive_impl<Archive>::save(const char *s)
}
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_woarchive_impl<Archive>::save(const std::string &s)
{
const std::size_t size = s.size();
@@ -56,7 +56,7 @@ text_woarchive_impl<Archive>::save(const std::string &s)
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_woarchive_impl<Archive>::save(const wchar_t *ws)
{
const std::size_t size = std::wostream::traits_type::length(ws);
@@ -68,7 +68,7 @@ text_woarchive_impl<Archive>::save(const wchar_t *ws)
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
text_woarchive_impl<Archive>::save(const std::wstring &ws)
{
const std::size_t size = ws.length();
diff --git a/boost/archive/impl/xml_iarchive_impl.ipp b/boost/archive/impl/xml_iarchive_impl.ipp
index 89e0981..7639ecb 100644
--- a/boost/archive/impl/xml_iarchive_impl.ipp
+++ b/boost/archive/impl/xml_iarchive_impl.ipp
@@ -51,7 +51,7 @@ namespace archive {
#ifndef BOOST_NO_CWCHAR
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_iarchive_impl<Archive>::load(std::wstring &ws){
std::string s;
bool result = gimpl->parse_string(is, s);
@@ -85,7 +85,7 @@ xml_iarchive_impl<Archive>::load(std::wstring &ws){
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_iarchive_impl<Archive>::load(wchar_t * ws){
std::string s;
bool result = gimpl->parse_string(is, s);
@@ -117,7 +117,7 @@ xml_iarchive_impl<Archive>::load(wchar_t * ws){
#endif // BOOST_NO_CWCHAR
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_iarchive_impl<Archive>::load(std::string &s){
bool result = gimpl->parse_string(is, s);
if(! result)
@@ -127,7 +127,7 @@ xml_iarchive_impl<Archive>::load(std::string &s){
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_iarchive_impl<Archive>::load(char * s){
std::string tstring;
bool result = gimpl->parse_string(is, tstring);
@@ -140,8 +140,8 @@ xml_iarchive_impl<Archive>::load(char * s){
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
-xml_iarchive_impl<Archive>::load_override(class_name_type & t, int){
+BOOST_ARCHIVE_DECL void
+xml_iarchive_impl<Archive>::load_override(class_name_type & t){
const std::string & s = gimpl->rv.class_name;
if(s.size() > BOOST_SERIALIZATION_MAX_KEY_SIZE - 1)
boost::serialization::throw_exception(
@@ -153,7 +153,7 @@ xml_iarchive_impl<Archive>::load_override(class_name_type & t, int){
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_iarchive_impl<Archive>::init(){
gimpl->init(is);
this->set_library_version(
@@ -162,7 +162,7 @@ xml_iarchive_impl<Archive>::init(){
}
template<class Archive>
-BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_DECL
xml_iarchive_impl<Archive>::xml_iarchive_impl(
std::istream &is_,
unsigned int flags
@@ -179,7 +179,7 @@ xml_iarchive_impl<Archive>::xml_iarchive_impl(
}
template<class Archive>
-BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_DECL
xml_iarchive_impl<Archive>::~xml_iarchive_impl(){
if(0 == (this->get_flags() & no_header)){
BOOST_TRY{
diff --git a/boost/archive/impl/xml_oarchive_impl.ipp b/boost/archive/impl/xml_oarchive_impl.ipp
index ab1a217..9e714f3 100644
--- a/boost/archive/impl/xml_oarchive_impl.ipp
+++ b/boost/archive/impl/xml_oarchive_impl.ipp
@@ -42,15 +42,15 @@ void save_iterator(std::ostream &os, InputIterator begin, InputIterator end){
boost::archive::iterators::xml_escape<InputIterator>
> translator;
std::copy(
- translator(BOOST_MAKE_PFTO_WRAPPER(begin)),
- translator(BOOST_MAKE_PFTO_WRAPPER(end)),
+ translator(begin),
+ translator(end),
boost::archive::iterators::ostream_iterator<char>(os)
);
}
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_oarchive_impl<Archive>::save(const std::wstring & ws){
// at least one library doesn't typedef value_type for strings
// so rather than using string directly make a pointer iterator out of it
@@ -61,7 +61,7 @@ xml_oarchive_impl<Archive>::save(const std::wstring & ws){
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_oarchive_impl<Archive>::save(const wchar_t * ws){
save_iterator(os, ws, ws + std::wcslen(ws));
}
@@ -70,7 +70,7 @@ xml_oarchive_impl<Archive>::save(const wchar_t * ws){
#endif // BOOST_NO_CWCHAR
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_oarchive_impl<Archive>::save(const std::string & s){
// at least one library doesn't typedef value_type for strings
// so rather than using string directly make a pointer iterator out of it
@@ -78,27 +78,27 @@ xml_oarchive_impl<Archive>::save(const std::string & s){
const char *
> xml_escape_translator;
std::copy(
- xml_escape_translator(BOOST_MAKE_PFTO_WRAPPER(s.data())),
- xml_escape_translator(BOOST_MAKE_PFTO_WRAPPER(s.data()+ s.size())),
+ xml_escape_translator(s.data()),
+ xml_escape_translator(s.data()+ s.size()),
boost::archive::iterators::ostream_iterator<char>(os)
);
}
template<class Archive>
-BOOST_ARCHIVE_DECL(void)
+BOOST_ARCHIVE_DECL void
xml_oarchive_impl<Archive>::save(const char * s){
typedef boost::archive::iterators::xml_escape<
const char *
> xml_escape_translator;
std::copy(
- xml_escape_translator(BOOST_MAKE_PFTO_WRAPPER(s)),
- xml_escape_translator(BOOST_MAKE_PFTO_WRAPPER(s + std::strlen(s))),
+ xml_escape_translator(s),
+ xml_escape_translator(s + std::strlen(s)),
boost::archive::iterators::ostream_iterator<char>(os)
);
}
template<class Archive>
-BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_ARCHIVE_DECL
xml_oarchive_impl<Archive>::xml_oarchive_impl(
std::ostream & os_,
unsigned int flags
diff --git a/boost/archive/impl/xml_wiarchive_impl.ipp b/boost/archive/impl/xml_wiarchive_impl.ipp
index 257b575..a837347 100644
--- a/boost/archive/impl/xml_wiarchive_impl.ipp
+++ b/boost/archive/impl/xml_wiarchive_impl.ipp
@@ -28,7 +28,6 @@ namespace std{
#include <boost/io/ios_state.hpp>
#include <boost/core/no_exceptions_support.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/serialization/string.hpp>
#include <boost/archive/basic_xml_archive.hpp>
@@ -52,10 +51,10 @@ namespace { // anonymous
void copy_to_ptr(char * s, const std::wstring & ws){
std::copy(
iterators::mb_from_wchar<std::wstring::const_iterator>(
- BOOST_MAKE_PFTO_WRAPPER(ws.begin())
+ ws.begin()
),
iterators::mb_from_wchar<std::wstring::const_iterator>(
- BOOST_MAKE_PFTO_WRAPPER(ws.end())
+ ws.end()
),
s
);
@@ -65,7 +64,7 @@ void copy_to_ptr(char * s, const std::wstring & ws){
} // anonymous
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_wiarchive_impl<Archive>::load(std::string & s){
std::wstring ws;
bool result = gimpl->parse_string(is, ws);
@@ -80,10 +79,10 @@ xml_wiarchive_impl<Archive>::load(std::string & s){
s.reserve(ws.size());
std::copy(
iterators::mb_from_wchar<std::wstring::iterator>(
- BOOST_MAKE_PFTO_WRAPPER(ws.begin())
+ ws.begin()
),
iterators::mb_from_wchar<std::wstring::iterator>(
- BOOST_MAKE_PFTO_WRAPPER(ws.end())
+ ws.end()
),
std::back_inserter(s)
);
@@ -91,7 +90,7 @@ xml_wiarchive_impl<Archive>::load(std::string & s){
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_wiarchive_impl<Archive>::load(std::wstring & ws){
bool result = gimpl->parse_string(is, ws);
if(! result)
@@ -102,7 +101,7 @@ xml_wiarchive_impl<Archive>::load(std::wstring & ws){
#endif
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_wiarchive_impl<Archive>::load(char * s){
std::wstring ws;
bool result = gimpl->parse_string(is, ws);
@@ -115,7 +114,7 @@ xml_wiarchive_impl<Archive>::load(char * s){
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_wiarchive_impl<Archive>::load(wchar_t * ws){
std::wstring twstring;
bool result = gimpl->parse_string(is, twstring);
@@ -129,8 +128,8 @@ xml_wiarchive_impl<Archive>::load(wchar_t * ws){
#endif
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
-xml_wiarchive_impl<Archive>::load_override(class_name_type & t, int){
+BOOST_WARCHIVE_DECL void
+xml_wiarchive_impl<Archive>::load_override(class_name_type & t){
const std::wstring & ws = gimpl->rv.class_name;
if(ws.size() > BOOST_SERIALIZATION_MAX_KEY_SIZE - 1)
boost::serialization::throw_exception(
@@ -140,7 +139,7 @@ xml_wiarchive_impl<Archive>::load_override(class_name_type & t, int){
}
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_wiarchive_impl<Archive>::init(){
gimpl->init(is);
this->set_library_version(
@@ -149,7 +148,7 @@ xml_wiarchive_impl<Archive>::init(){
}
template<class Archive>
-BOOST_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_WARCHIVE_DECL
xml_wiarchive_impl<Archive>::xml_wiarchive_impl(
std::wistream &is_,
unsigned int flags
@@ -177,7 +176,7 @@ xml_wiarchive_impl<Archive>::xml_wiarchive_impl(
}
template<class Archive>
-BOOST_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_WARCHIVE_DECL
xml_wiarchive_impl<Archive>::~xml_wiarchive_impl(){
if(0 == (this->get_flags() & no_header)){
BOOST_TRY{
diff --git a/boost/archive/impl/xml_woarchive_impl.ipp b/boost/archive/impl/xml_woarchive_impl.ipp
index 1e5139b..d5586d5 100644
--- a/boost/archive/impl/xml_woarchive_impl.ipp
+++ b/boost/archive/impl/xml_woarchive_impl.ipp
@@ -52,14 +52,14 @@ void save_iterator(std::wostream &os, InputIterator begin, InputIterator end){
iterators::xml_escape<InputIterator>
> xmbtows;
std::copy(
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(begin)),
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(end)),
+ xmbtows(begin),
+ xmbtows(end),
boost::archive::iterators::ostream_iterator<wchar_t>(os)
);
}
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_woarchive_impl<Archive>::save(const std::string & s){
// note: we don't use s.begin() and s.end() because dinkumware
// doesn't have string::value_type defined. So use a wrapper
@@ -71,47 +71,47 @@ xml_woarchive_impl<Archive>::save(const std::string & s){
#ifndef BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_woarchive_impl<Archive>::save(const std::wstring & ws){
#if 0
typedef iterators::xml_escape<std::wstring::const_iterator> xmbtows;
std::copy(
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(ws.begin())),
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(ws.end())),
+ xmbtows(ws.begin()),
+ xmbtows(ws.end()),
boost::archive::iterators::ostream_iterator<wchar_t>(os)
);
#endif
typedef iterators::xml_escape<const wchar_t *> xmbtows;
std::copy(
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(ws.data())),
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(ws.data() + ws.size())),
+ xmbtows(ws.data()),
+ xmbtows(ws.data() + ws.size()),
boost::archive::iterators::ostream_iterator<wchar_t>(os)
);
}
#endif //BOOST_NO_STD_WSTRING
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_woarchive_impl<Archive>::save(const char * s){
save_iterator(os, s, s + std::strlen(s));
}
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
template<class Archive>
-BOOST_WARCHIVE_DECL(void)
+BOOST_WARCHIVE_DECL void
xml_woarchive_impl<Archive>::save(const wchar_t * ws){
os << ws;
typedef iterators::xml_escape<const wchar_t *> xmbtows;
std::copy(
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(ws)),
- xmbtows(BOOST_MAKE_PFTO_WRAPPER(ws + std::wcslen(ws))),
+ xmbtows(ws),
+ xmbtows(ws + std::wcslen(ws)),
boost::archive::iterators::ostream_iterator<wchar_t>(os)
);
}
#endif
template<class Archive>
-BOOST_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_WARCHIVE_DECL
xml_woarchive_impl<Archive>::xml_woarchive_impl(
std::wostream & os_,
unsigned int flags
@@ -141,7 +141,7 @@ xml_woarchive_impl<Archive>::xml_woarchive_impl(
}
template<class Archive>
-BOOST_WARCHIVE_DECL(BOOST_PP_EMPTY())
+BOOST_WARCHIVE_DECL
xml_woarchive_impl<Archive>::~xml_woarchive_impl(){
}
diff --git a/boost/archive/iterators/base64_from_binary.hpp b/boost/archive/iterators/base64_from_binary.hpp
index 836d93d..00c4e10 100644
--- a/boost/archive/iterators/base64_from_binary.hpp
+++ b/boost/archive/iterators/base64_from_binary.hpp
@@ -25,8 +25,6 @@ namespace std{
} // namespace std
#endif
-#include <boost/serialization/pfto.hpp>
-
#include <boost/iterator/transform_iterator.hpp>
#include <boost/archive/iterators/dataflow_exception.hpp>
@@ -88,9 +86,9 @@ class base64_from_binary :
public:
// make composible buy using templated constructor
template<class T>
- base64_from_binary(BOOST_PFTO_WRAPPER(T) start) :
+ base64_from_binary(T start) :
super_t(
- Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start))),
+ Base(static_cast< T >(start)),
detail::from_6_bit<CharType>()
)
{}
diff --git a/boost/archive/iterators/binary_from_base64.hpp b/boost/archive/iterators/binary_from_base64.hpp
index 9d2c87e..2eb7828 100644
--- a/boost/archive/iterators/binary_from_base64.hpp
+++ b/boost/archive/iterators/binary_from_base64.hpp
@@ -19,7 +19,6 @@
#include <boost/assert.hpp>
#include <boost/serialization/throw_exception.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/static_assert.hpp>
#include <boost/iterator/transform_iterator.hpp>
@@ -96,9 +95,9 @@ class binary_from_base64 : public
public:
// make composible buy using templated constructor
template<class T>
- binary_from_base64(BOOST_PFTO_WRAPPER(T) start) :
+ binary_from_base64(T start) :
super_t(
- Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start))),
+ Base(static_cast< T >(start)),
detail::to_6_bit<CharType>()
)
{}
diff --git a/boost/archive/iterators/insert_linebreaks.hpp b/boost/archive/iterators/insert_linebreaks.hpp
index 7fbc79f..2504b03 100644
--- a/boost/archive/iterators/insert_linebreaks.hpp
+++ b/boost/archive/iterators/insert_linebreaks.hpp
@@ -23,8 +23,6 @@
namespace std{ using ::memcpy; }
#endif
-#include <boost/serialization/pfto.hpp>
-
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/iterator/iterator_traits.hpp>
@@ -83,8 +81,8 @@ private:
public:
// make composible buy using templated constructor
template<class T>
- insert_linebreaks(BOOST_PFTO_WRAPPER(T) start) :
- super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start)))),
+ insert_linebreaks(T start) :
+ super_t(Base(static_cast< T >(start))),
m_count(0)
{}
// intel 7.1 doesn't like default copy constructor
diff --git a/boost/archive/iterators/mb_from_wchar.hpp b/boost/archive/iterators/mb_from_wchar.hpp
index 04e7c7e9..deb798f 100644
--- a/boost/archive/iterators/mb_from_wchar.hpp
+++ b/boost/archive/iterators/mb_from_wchar.hpp
@@ -28,7 +28,6 @@ namespace std{
} // namespace std
#endif
-#include <boost/serialization/pfto.hpp>
#include <boost/iterator/iterator_adaptor.hpp>
namespace boost {
@@ -86,7 +85,7 @@ class mb_from_wchar
wchar_t value = * this->base_reference();
#if (defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 3) \
|| ((__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION >= 8))))
- m_bend = std::wcrtomb(m_buffer, value, 0);
+ m_bend = std::wcrtomb(m_buffer, value,0);
#else
m_bend = std::wctomb(m_buffer, value);
#endif
@@ -114,8 +113,8 @@ class mb_from_wchar
public:
// make composible buy using templated constructor
template<class T>
- mb_from_wchar(BOOST_PFTO_WRAPPER(T) start) :
- super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start)))),
+ mb_from_wchar(T start) :
+ super_t(Base(static_cast< T >(start))),
m_bend(0),
m_bnext(0),
m_full(false)
diff --git a/boost/archive/iterators/remove_whitespace.hpp b/boost/archive/iterators/remove_whitespace.hpp
index 4383987..c3580ab 100644
--- a/boost/archive/iterators/remove_whitespace.hpp
+++ b/boost/archive/iterators/remove_whitespace.hpp
@@ -18,8 +18,6 @@
#include <boost/assert.hpp>
-#include <boost/serialization/pfto.hpp>
-
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/iterator/filter_iterator.hpp>
#include <boost/iterator/iterator_traits.hpp>
@@ -153,8 +151,8 @@ public:
// remove_whitespace(){} // why is this needed?
// make composible buy using templated constructor
template<class T>
- remove_whitespace(BOOST_PFTO_WRAPPER(T) start) :
- super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start))))
+ remove_whitespace(T start) :
+ super_t(Base(static_cast< T >(start)))
{}
// intel 7.1 doesn't like default copy constructor
remove_whitespace(const remove_whitespace & rhs) :
diff --git a/boost/archive/iterators/transform_width.hpp b/boost/archive/iterators/transform_width.hpp
index 15dd8df..d042560 100644
--- a/boost/archive/iterators/transform_width.hpp
+++ b/boost/archive/iterators/transform_width.hpp
@@ -24,8 +24,6 @@
// character and 8 bit bytes. Lowest common multiple is 24 => 4 6 bit characters
// or 3 8 bit characters
-#include <boost/serialization/pfto.hpp>
-
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/iterator/iterator_traits.hpp>
@@ -110,8 +108,8 @@ class transform_width :
public:
// make composible buy using templated constructor
template<class T>
- transform_width(BOOST_PFTO_WRAPPER(T) start) :
- super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start)))),
+ transform_width(T start) :
+ super_t(Base(static_cast< T >(start))),
m_buffer_out_full(false),
// To disable GCC warning, but not truly necessary
//(m_buffer_in will be initialized later before being
@@ -154,7 +152,7 @@ void transform_width<Base, BitsOut, BitsIn, CharType>::fill() {
// append these bits to the next output
// up to the size of the output
- unsigned int i = std::min(missing_bits, m_remaining_bits);
+ unsigned int i = (std::min)(missing_bits, m_remaining_bits);
// shift interesting bits to least significant position
base_value_type j = m_buffer_in >> (m_remaining_bits - i);
// and mask off the un interesting higher bits
diff --git a/boost/archive/iterators/wchar_from_mb.hpp b/boost/archive/iterators/wchar_from_mb.hpp
index ab81f17..ad1d4cb 100644
--- a/boost/archive/iterators/wchar_from_mb.hpp
+++ b/boost/archive/iterators/wchar_from_mb.hpp
@@ -30,7 +30,6 @@ namespace std{
#endif
#include <boost/serialization/throw_exception.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/iterator/iterator_adaptor.hpp>
#include <boost/archive/iterators/dataflow_exception.hpp>
@@ -89,8 +88,8 @@ class wchar_from_mb
public:
// make composible buy using templated constructor
template<class T>
- wchar_from_mb(BOOST_PFTO_WRAPPER(T) start) :
- super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start)))),
+ wchar_from_mb(T start) :
+ super_t(Base(static_cast< T >(start))),
m_full(false)
{}
// intel 7.1 doesn't like default copy constructor
diff --git a/boost/archive/iterators/xml_escape.hpp b/boost/archive/iterators/xml_escape.hpp
index a5d2c51..c838a73 100644
--- a/boost/archive/iterators/xml_escape.hpp
+++ b/boost/archive/iterators/xml_escape.hpp
@@ -17,7 +17,6 @@
// See http://www.boost.org for updates, documentation, and revision history.
#include <boost/assert.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/iterators/escape.hpp>
namespace boost {
@@ -40,8 +39,8 @@ public:
wchar_t fill(const wchar_t * & bstart, const wchar_t * & bend);
template<class T>
- xml_escape(BOOST_PFTO_WRAPPER(T) start) :
- super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start))))
+ xml_escape(T start) :
+ super_t(Base(static_cast< T >(start)))
{}
// intel 7.1 doesn't like default copy constructor
xml_escape(const xml_escape & rhs) :
diff --git a/boost/archive/iterators/xml_unescape.hpp b/boost/archive/iterators/xml_unescape.hpp
index 69438ed..6997740 100644
--- a/boost/archive/iterators/xml_unescape.hpp
+++ b/boost/archive/iterators/xml_unescape.hpp
@@ -19,7 +19,6 @@
#include <boost/assert.hpp>
#include <boost/serialization/throw_exception.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/iterators/unescape.hpp>
#include <boost/archive/iterators/dataflow_exception.hpp>
@@ -54,8 +53,8 @@ public:
value_type drain();
template<class T>
- xml_unescape(BOOST_PFTO_WRAPPER(T) start) :
- super_t(Base(BOOST_MAKE_PFTO_WRAPPER(static_cast< T >(start))))
+ xml_unescape(T start) :
+ super_t(Base(static_cast< T >(start)))
{}
// intel 7.1 doesn't like default copy constructor
xml_unescape(const xml_unescape & rhs) :
diff --git a/boost/archive/polymorphic_iarchive.hpp b/boost/archive/polymorphic_iarchive.hpp
index 50488a3..7f19410 100644
--- a/boost/archive/polymorphic_iarchive.hpp
+++ b/boost/archive/polymorphic_iarchive.hpp
@@ -29,7 +29,6 @@ namespace std{
#include <boost/cstdint.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/detail/iserializer.hpp>
#include <boost/archive/detail/interface_iarchive.hpp>
#include <boost/serialization/nvp.hpp>
@@ -44,13 +43,13 @@ namespace serialization {
} // namespace serialization
namespace archive {
namespace detail {
- class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iarchive;
- class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_iarchive;
+ class BOOST_ARCHIVE_DECL basic_iarchive;
+ class BOOST_ARCHIVE_DECL basic_iarchive;
}
class polymorphic_iarchive;
-class polymorphic_iarchive_impl :
+class BOOST_SYMBOL_VISIBLE polymorphic_iarchive_impl :
public detail::interface_iarchive<polymorphic_iarchive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -98,22 +97,19 @@ public:
virtual void load_start(const char * name) = 0;
virtual void load_end(const char * name) = 0;
virtual void register_basic_serializer(const detail::basic_iserializer & bis) = 0;
+ virtual detail::helper_collection & get_helper_collection() = 0;
// msvc and borland won't automatically pass these to the base class so
// make it explicit here
template<class T>
- void load_override(T & t, BOOST_PFTO int)
+ void load_override(T & t)
{
archive::load(* this->This(), t);
}
// special treatment for name-value pairs.
template<class T>
void load_override(
- #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
- const
- #endif
- boost::serialization::nvp< T > & t,
- int
+ const boost::serialization::nvp< T > & t
){
load_start(t.name());
archive::load(* this->This(), t.value());
@@ -156,7 +152,7 @@ public:
namespace boost {
namespace archive {
-class polymorphic_iarchive :
+class BOOST_SYMBOL_VISIBLE polymorphic_iarchive :
public polymorphic_iarchive_impl
{
public:
diff --git a/boost/archive/polymorphic_oarchive.hpp b/boost/archive/polymorphic_oarchive.hpp
index 1eb9e0b..aa30b2a 100644
--- a/boost/archive/polymorphic_oarchive.hpp
+++ b/boost/archive/polymorphic_oarchive.hpp
@@ -28,7 +28,6 @@ namespace std{
#endif
#include <boost/cstdint.hpp>
-#include <boost/serialization/pfto.hpp>
#include <boost/archive/detail/oserializer.hpp>
#include <boost/archive/detail/interface_oarchive.hpp>
#include <boost/serialization/nvp.hpp>
@@ -43,13 +42,13 @@ namespace serialization {
} // namespace serialization
namespace archive {
namespace detail {
- class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oarchive;
- class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_oserializer;
+ class BOOST_ARCHIVE_DECL basic_oarchive;
+ class BOOST_ARCHIVE_DECL basic_oserializer;
}
class polymorphic_oarchive;
-class polymorphic_oarchive_impl :
+class BOOST_SYMBOL_VISIBLE polymorphic_oarchive_impl :
public detail::interface_oarchive<polymorphic_oarchive>
{
#ifdef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
@@ -98,23 +97,21 @@ public:
virtual void save_start(const char * name) = 0;
virtual void save_end(const char * name) = 0;
virtual void register_basic_serializer(const detail::basic_oserializer & bos) = 0;
+ virtual detail::helper_collection & get_helper_collection() = 0;
virtual void end_preamble() = 0;
// msvc and borland won't automatically pass these to the base class so
// make it explicit here
template<class T>
- void save_override(T & t, BOOST_PFTO int)
+ void save_override(T & t)
{
archive::save(* this->This(), t);
}
// special treatment for name-value pairs.
template<class T>
void save_override(
- #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
- const
- #endif
- ::boost::serialization::nvp< T > & t, int
+ const ::boost::serialization::nvp< T > & t
){
save_start(t.name());
archive::save(* this->This(), t.const_value());
@@ -139,7 +136,7 @@ public:
};
// note: preserve naming symmetry
-class polymorphic_oarchive :
+class BOOST_SYMBOL_VISIBLE polymorphic_oarchive :
public polymorphic_oarchive_impl
{
public:
diff --git a/boost/archive/text_iarchive.hpp b/boost/archive/text_iarchive.hpp
index 1fd0f60..e40db83 100644
--- a/boost/archive/text_iarchive.hpp
+++ b/boost/archive/text_iarchive.hpp
@@ -40,7 +40,7 @@ namespace detail {
} // namespace detail
template<class Archive>
-class text_iarchive_impl :
+class BOOST_SYMBOL_VISIBLE text_iarchive_impl :
public basic_text_iprimitive<std::istream>,
public basic_text_iarchive<Archive>
{
@@ -72,33 +72,30 @@ protected:
load(v);
t = boost::serialization::item_version_type(v);
}
- BOOST_ARCHIVE_DECL(void)
+ BOOST_ARCHIVE_DECL void
load(char * t);
#ifndef BOOST_NO_INTRINSIC_WCHAR_T
- BOOST_ARCHIVE_DECL(void)
+ BOOST_ARCHIVE_DECL void
load(wchar_t * t);
#endif
- BOOST_ARCHIVE_DECL(void)
+ BOOST_ARCHIVE_DECL void
load(std::string &s);
#ifndef BOOST_NO_STD_WSTRING
- BOOST_ARCHIVE_DECL(void)
+ BOOST_ARCHIVE_DECL void