Skip to content

template auto parameter should not pass type  #3

@huangminghuang

Description

@huangminghuang

In function_traits.hpp:105, the template function is_callable_v is declared to accept an auto parameter; however, the calling side is passed a type parameter decltype(fn) which causes a compiler error on Apple clang version 14. The code should be changed to if constexpr (is_callable(fn)) instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    OCIWork exclusive to OCI team

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions