Skip to content
  • Pietro Fezzardi's avatar
    5d9aa31c
    Remove useless type `GenericFunctor` · 5d9aa31c
    Pietro Fezzardi authored
    `GenericFunctor` is substituted with the `std::integral_constant`
    template. This also allows us to remove code that requires C++14.
    
    It also removes the now useless cmake tests on the compiler flag
    `-Wno-error=noexcept-type` that was introduced to disable fatal warnings
    on the type `GenericFunctor`.
    Now that this type has been removed the check is not necessary anymore,
    because the `std::integral_constant` template used now does not cause
    the warning.
    So we can go back to enabling the fatal warnings.
    5d9aa31c
    Remove useless type `GenericFunctor`
    Pietro Fezzardi authored
    `GenericFunctor` is substituted with the `std::integral_constant`
    template. This also allows us to remove code that requires C++14.
    
    It also removes the now useless cmake tests on the compiler flag
    `-Wno-error=noexcept-type` that was introduced to disable fatal warnings
    on the type `GenericFunctor`.
    Now that this type has been removed the check is not necessary anymore,
    because the `std::integral_constant` template used now does not cause
    the warning.
    So we can go back to enabling the fatal warnings.
Loading