Skip to content

Replace boost::mt19937 with std::mt19937 #2803

Open
@SunBlack

Description

@SunBlack

boost::mt19937 is sometimes used in header files as member. How do we migrate to std::mt19937 there? A typedef doesn't work, because e.g. boost::variate_generator doesn't exists in final C++11 spec (was only in tr1).

So there are two options:

  • Hardcut for this members. Everyone, who inherits from this classes, needs ti adjust their code from PCL 1.9.1 to 1.10.0 in case they are using this member.
  • typedef + #ifdef (don't know if we want many new #ifdefs)
  • typedef and increase/define minimum required boost version, in case Boost implemented C++11 spec

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