Skip to content

Confusing error on make_histogram(axis::integer(0, 1), dense_storage()) #350

Description

@HDembinski
// c++17
auto h = bh::make_histogram(bh::axis::integer(0, 1), bh::dense_storage());

This does not work (and currently shouldn't!) but fails in mysterious ways that are difficult to comprehend. If possible, we should make this work and deprecate make_histogram_with or fail at the earliest. The code interprets the second argument as an axis, but hopefully we can prevent that with better constraints on the template.

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