Skip to content

Navigation Menu

Sign in
Sign up

boost/random/detail/polynomial.hpp:303:20: -Wdeprecated-copy warning #86

Open

Description

clang-linux.compile.c++ ../../../../bin.v2/libs/spirit/test/qi/qi_range_run.test/clang-linux-12/release/cxxstd-11-iso/stdlib-libc++/threading-multi/visibility-hidden/range_run.o
In file included from range_run.cpp:17:
In file included from ../../../../boost/random/mersenne_twister.hpp:32:
../../../../boost/random/detail/polynomial.hpp:303:20: error: definition of implicit copy constructor for 'reference' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
 reference &operator=(const reference &other)
 ^
../../../../boost/random/detail/polynomial.hpp:315:16: note: in implicit copy constructor for 'boost::random::detail::polynomial::reference' first required here
 return reference(_storage[i/bits], i%bits);
 ^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      AltStyle によって変換されたページ (->オリジナル) /