Skip to content

Should all NEW distribution's tests use the C++11 style test_spots<float>(); #431

@pabristow

Description

@pabristow

Now that we are requiring C++11, or higher, can we (for all NEW distributions) leave behind the historic (2005-ish) but perhaps puzzling (and perhaps warning triggering) test functions like

template <typename RealType> // Any floating-point type RealType. void test_spots(RealType){...}

called as

test_spots(0.0F); // Test float.

(now that compilers work properly) in favour of

template <typename RealType> // Any floating-point type RealType. void test_spots()

called thus:

test_spots<float>();

(I don't propose changing all the old distributions!)

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