Skip to content

boost::array::assign deprecated and to be replaced with boost::array::fill to avoid warnings #39

@GreenGary

Description

@GreenGary

boost::array::assign is now deprecated and shall be replaced with boost::array::fill. Otherwise, compiler will issue warnings:

boost/multi_array/view.hpp(234): warning C4996: 'boost::array<__int64,5>::assign': please use `fill` instead

multi_array-view-assign-to-fill.patch

multi_array-multi_array_ref-assign-to-fill.patch

multi_array-storage_order-assign-to-fill.patch

boost 1.85 was OK, boost 1.88 is affected.

I can open a MR with attached patch file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions