template struct cv::cudev::Log2<N, 0, COUNT>

#include <type_traits.hpp>

template <
    int N,
    int COUNT
    >
struct Log2<N, 0, COUNT>
{
    // enums

    enum
    {
        value = (1 <<(COUNT - 1) <N) ? COUNT : COUNT - 1,
    };
};